No description
Find a file
2023-03-22 01:03:19 +01:00
api Add API validator middleware 2023-03-21 23:28:41 +01:00
env Remove hardcoded values 2023-03-22 01:03:19 +01:00
src Remove hardcoded values 2023-03-22 01:03:19 +01:00
.eslintrc Add initial app with use case 2023-03-14 23:38:19 +01:00
.gitignore Add initial app with use case 2023-03-14 23:38:19 +01:00
docker-compose.yml Add MongoDb connection and refactor to consistent package structure 2023-03-20 20:05:25 +01:00
package.json Improve build pipeline 2023-03-22 00:56:59 +01:00
README.md Add initial app with use case 2023-03-14 23:38:19 +01:00
tsconfig.json Improve build pipeline 2023-03-22 00:56:59 +01:00
tsconfig.prod.json Add initial app with use case 2023-03-14 23:38:19 +01:00

About

This project was created with express-generator-typescript.

Available Scripts

npm run dev

Run the server in development mode.

npm test

Run all unit-tests with hot-reloading.

npm test -- --testFile="name of test file" (i.e. --testFile=Users).

Run a single unit-test.

npm run test:no-reloading

Run all unit-tests without hot-reloading.

npm run lint

Check for linting errors.

npm run build

Build the project for production.

npm start

Run the production build (Must be built first).

npm start -- --environment="name of environment file" (default is production).

Run production build with a different environment file.

Additional Notes

  • If npm run dev gives you issues with bcrypt on MacOS you may need to run: npm rebuild bcrypt --build-from-source.