Skip to content

awesome-academy/naitei_nodejs2024_LAB_e-learning

Repository files navigation

About

This project was created with express-generator-typescript.

Available Scripts

npm run dev or npm run dev:hot (hot reloading)

Run the server in development mode.

npm test or npm run test:hot (hot reloading)

Run all unit-tests.

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

Run a single unit-test.

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).

Additional Notes

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