/node-express-boilerplate

Nodejs/Express project boilerplate.

Primary LanguageJavaScript

Nodejs/Express Project Boilerplate

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.

Getting Started

Installation

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

Testing

  • Run npm run test:integration to execute the integration tests.