/product_api

A simple Node/Express/MongoDB API for maintaining a list of products

Primary LanguageJavaScriptMIT LicenseMIT

Product API

A simple REST API (Node/Express/MongoDB) for maintaining a list of products. If no data is present at start, it inserts 5 products into the database. Requires a working MongoDB setup and Node installed.

Installing

  • Either download and upack the ZIP from this Repo, or clone the repo (if you know how to do that)
  • Open a command line and navigate to the folder where you unpack these files
  • Type "npm i" to install dependencies
  • Type "npm start" to start the REST API