typeorm-fixtures
:pill: Fixtures loader for typeorm ๐บ๐ฆ
File Explorer
Download Latest Version (.zip)- config.yml
- bug_report.md
- custom.md
- feature_request.md
- build.yml
- FUNDING.yml
- stale.yml
- LoadCommand.ts
- IDataParser.ts
- IEntity.ts
- IFixture.ts
- IFixturesConfig.ts
- ILoader.ts
- index.ts
- IParser.ts
- IProcessor.ts
- index.ts
- JsonLoader.ts
- TsLoader.ts
- YamlLoader.ts
- EjsParser.ts
- FakerParser.ts
- index.ts
- ParameterParser.ts
- ReferenceParser.ts
- index.ts
- jFixturesSchema.ts
- fixturesIterator.ts
- index.ts
- Builder.ts
- cli-ts-node-commonjs.ts
- cli-ts-node-esm.ts
- cli.ts
- index.ts
- Loader.ts
- Parser.ts
- Resolver.ts
- Comment.ts
- Group.ts
- Post.ts
- Profile.ts
- User.ts
- Comment.yml
- Group.yml
- Post.yml
- Profile.yml
- User.yml
- UserProcessor.ts
- docker-compose-postgres.yml
- ormconfig.yml
- Listing.ts
- Post.ts
- User.ts
- Comment.txt
- Post.yml
- User.json
- User.ts
- User.json
- Connection.ts
- ListingRepository.ts
- PostRepository.ts
- UserRepository.ts
- PostProcessor.ts
- UserProcessor.ts
- EjsParser.test.ts
- FakerParser.test.ts
- ParameterParser.test.ts
- ReferenceParser.test.ts
- fixturesIterator.test.ts
- Builder.test.ts
- Loader.test.ts
- Parser.test.ts
- Resolver.test.ts
- mocha.opts
- .commitlintrc.yml
- .czrc
- .editorconfig
- .eslintrc.js
- .gitignore
- .lintstagedrc.js
- .npmignore
- .npmrc
- .nvmrc
- .nycrc
- .prettierignore
- .prettierrc.js
- _config.yml
- CHANGELOG.md
- LICENSE
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/RobinCK/typeorm-fixtures
Downloads the entire project code from GitHub to your computer.
cd typeorm-fixtures
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install typeorm-fixtures-cli --save-dev
Downloads and installs the libraries listed in package.json.
yarn add typeorm-fixtures-cli --dev
Type this command into your terminal and run it.
npm install
Downloads and installs the libraries listed in package.json.
npm run build
Builds optimized production files.
npm install ts-node --save-dev
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
