Backend For Bet App To acess docs 'localhost:4000/api-docs'
- Docker
- MongoDb
- Node 15
- Typescript
- Swagger
- Prisma
- Docker
- MongoDB
- Redis
- ExpressJS
- Clone the Repo;
- Install development dependencies:
$ npm install
- Run Docker Development mode:
$ docker-compose up -d
- Enjoi!
- Clone the Repo;
- Install development dependencies:
$ npm install
- Start development server:
$ npm run dev
- Enjoi!
Run this commands from the project folder with npm run "script-name"
.
start
: runs project with lint fixeddev
: runs project in development modedev:test
: runs project in development test modepush:test
: build the sql or migrate in db of testslint
: lints source code usingeslint
lint:fix
: lints source code and fix usingeslint
prepare
: prepare husky on the vscodetest
: run tests
This starter is already configured to allow you to extend typings of external packages. The logic behind it is based on this official template. To augment a module, just create a folder with the same name as the module you are augmenting and add an index.d.ts in it. Here you can find a real world example.
Warning: This starter uses new V8 inspect protocol so you have to use at least Node.js 7.7.4 if you want to use the included debugger settings.
- start dev server with
npm run start
oryarn start
- now you have two ways:
- use the provided debug URL in Chrome
- use VS Code included (inside .vscode folder)
attach
config (best debugging experience)