Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

lucas-a-pelegrino/node-bloodboiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node API Bloodboiler 🚀

Build Codacy Badge codecov GitHub Release MIT License

A API boilerplate built on top of ExpressJS.

Features

This boilerplate is also available with Sequelize/PostgreSQL on this repository!

Getting Started

Installation Steps

Clone the repository

$ git clone https://github.com/lucas-a-pelegrino/node-bloodboiler
$ cd node-bloodboiler

Install the dependencies

$ npm install
# or
$ yarn install

Setup environment variables (modify/add more variables if needed)

$ cp .env.example .env

Commands

Start application

# locally:
$ npm run start:dev
# or
$ yarn start:dev

# staging:
$ npm run start:staging
# or
$ yarn start:staging

# production
$ npm start
# or
$ yarn start

Testing

# Run tests
$ npm test
# or
$ yarn test

Docker

Bloodboiler comes with Docker support, you can develop and test your code using Docker for minimal configuration, Nodemon takes care of restarting the application inside Docker so you can code locally.

# Code Locally with:
$ npm run docker:dev
# or
$ yarn docker:dev

# Run Test Suites inside Docker:
$ npm run docker:test
# or
$ yarn docker:test

NOTE: In order to use the methods listed above, make sure you have Docker installed on your local machine!

Documentation

You might want to check the API docs as well!

  • Collection on Postman;
  • Swagger: Just start the application at your desired host:port and use the route: /api/v1/documentation to open the swagger docs;

License

MIT