Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nodejs-backend-setup

jaimin161839MIT1.0.0

My preferred Node.js backend project setup. Codebase is organized keeping in mind both development and production environments.

nodejs-project, nodejs-backend, nodejs-project-boilerplate

readme

Folder structure setup for building Rest APIs in Node.js, Express.js and Mongo Database

Steps for setting up templete for Rest API project

  1. install packages

    • run: npm install
  2. Configure environment variables

    • create copy .env-example in application folder.
    • rename it to .env
    • fill all environment variables according to your environment
  3. start application

    • run: npm start (production) or
    • run: npm run server (development)