Repository for backend project with Node.js
- node v12.x
- npm 6.x
- Mongo: 4.x
- Linux Server 20.x
- coverage: generated automatically by npm run test:coverage command
- build: generated automatically by npm run build command
- public: folder to show public static files
- src: contains the root files of the project
- tests: contains all the testing files about the components
- .env | .env.prod: used to save enviroment variables used in components
- babel.config.js: configuration to use babel with typescript
- jest.config.js: configuration to use jest with typescript and files with
.spec
in their names and save them intotests
folder - tsconfig.json: configuration of typescript
- Clone this repository
- Select any endpoint.
npm install
to install dependencies.npm run build
to createdist
folder.npm run start:dev
to run development environment.npm run start
to run development environment.npm run build
to export to production.
The (MIT) Lincense