olamilekan000 / allmessaging-consumer-service

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


Languages

Language:JavaScript 80.4%Language:Shell 17.7%Language:Dockerfile 1.9%