Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

About

Showcase api design architecture using express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /