Bootstrap api template
# 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