Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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` command

Running 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
```