Skip to content

Latest commit

 

History

History
executable file
·
43 lines (28 loc) · 707 Bytes

File metadata and controls

executable file
·
43 lines (28 loc) · 707 Bytes

Node boilerplate

API service responsible to store. Exposes and Admin dashboard to manage data and a simple HTML page to allow users to view/download/share their images.

Technologies:

  • Node.js & Express.js with pug
  • MongoDB & Mongoose

Architecture

Read about the architecture here

Getting Started

Local Development with Docker

Ensure docker and docker-compose are installed, then run:

cp .env.example .env
# Edit credentials in .env
docker-compose up

Local Development without Docker

cp .env.example .env
# Edit credentials in .env
yarn install
yarn start

Deployment with PM2

  • pm2 start

Coding standards

  • Prettier
  • Eslint