Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanoninja/quiz-api-express-typeorm
Modern Node API With TypeScript, Express and TypeORM
https://github.com/nanoninja/quiz-api-express-typeorm
api chai expressjs mocha nodejs typeorm typeorm-fixtures typescript
Last synced: 10 days ago
JSON representation
Modern Node API With TypeScript, Express and TypeORM
- Host: GitHub
- URL: https://github.com/nanoninja/quiz-api-express-typeorm
- Owner: nanoninja
- Created: 2019-12-24T23:24:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T04:30:02.000Z (almost 2 years ago)
- Last Synced: 2023-08-05T15:21:53.726Z (over 1 year ago)
- Topics: api, chai, expressjs, mocha, nodejs, typeorm, typeorm-fixtures, typescript
- Language: TypeScript
- Size: 457 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node API
[Documentation](docs/README.md)
Steps to run this project:
1. Run `npm i` command
2. Setup database settings inside `ormconfig.json` file
3. Run `npm start` or `npm run dev` commandRunning tests:
Run `npm run test` command
## Installing dependencies
``` sh
npm i bcryptjs body-parser class-validator cors express \
express-http-context jsonwebtoken mongodb mysql mysql2 pg \
reflect-metadata typeorm uuid
```## Installing developpment dependencies
``` sh
npm i -D @types/chai @types/chai-http @types/cors @types/express \
@types/jsonwebtoken @types/mocha @types/node chai mocha nodemon \
ts-nod typeorm-fixtures-cli typescript
```