Skip to content

samarpanda/api-design-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •