GitHunt
SA

samarpanda/api-design-express

Showcase api design architecture using express

API Design

Using express and mongodb

Steps to run the application

  1. Start mongodb
  2. Run yarn start This starts the API

Running mongodb local to this project

  1. Create a db directory in this project.
  2. Change directory to that cd db
  3. Run command mongod --dbpath .
  4. This starts the mongodb within the db directory

Misc commands

  1. Check if mongo is running ps aux | grep -v grep | grep mongod
  2. Install mongodb community version using brew i.e brew install mongodb-community
  3. Stop mongodb community version if started globally brew services stop mongodb-community
  4. Start mongodb community version brew services start mongodb-community

Languages

JavaScript100.0%

Contributors

Created September 5, 2017
Updated October 23, 2024
samarpanda/api-design-express | GitHunt