Nodejs/Express project boilerplate to help cut through initial project setup. Boilerplate includes project files structure, routing, database setup (using mongoose), testing.
Check example project using this boilerplate here.
- Clone the repository.
- Change into the directory of the project.
- Use
npm install
to install all dependency packages. - Create a
.env
file in the root folder to provide all the needed environment variables as specified in.env.example
- Use
npm run dev
to start development server.
- Run
npm run test:integration
to execute the integration tests.