olamilekan000 / bp

Template for starting a Node.js Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js Server starter template

Bootstrap api template

Getting started

# Clone the project
git clone https://github.com/olamilekan000/bp.git
cd bp

# Install dependencies
npm install

Set Environment Variables

MONGODB_URL_DEV=<mongodburl>
PORT=port

Then you can start the application:

npm run dev

or with Docker

docker-compose -f docker-compose.dev.yml up --build

To create a Module, run:

./create-module.sh <name-of-module>

This will launch the server node process on port 9093

Linting is set up using ESlint. It uses the rules as specificed in the .eslintrc.js file which can be found in the root directory.

Begin linting with the following command:

npm run lint

About

Template for starting a Node.js Application


Languages

Language:JavaScript 93.9%Language:Shell 5.5%Language:Dockerfile 0.6%