Skip to content

Monika-Mistry/Node-Assessment

Repository files navigation

Discussion Board Project

Application Architecture

Application created using a MERN stack.

  • MongoDB database
  • Node (express, mongoose, bcrypt, validator) server API

Running as node application locally

  1. Install mongoDB (installation guide)
  2. Install Node (Node Downloads)
  3. Clone down the repository: git clone https://github.com/Monika-Mistry/Node-Assessment.git
  4. Go to root of project and run the following two commands:
npm install
npm install -g nodemon
  1. Run the application: nodemon ./server.js

Running with Docker

  1. Clone down the repository: git clone https://github.com/Monika-Mistry/Node-Assessment.git
  2. Install docker-compose:
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
  1. Build new images for the services: docker-compose build
  2. Running the application: docker-compose up -d
  3. Tearing down the application: docker-compose down --rmi all

About

MERN stack application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published