Skip to content

nirob2017/309-project-skeleton

 
 

Repository files navigation

How to set up the code

  1. Install Node.js and MongoDB on your computer

  2. Download this code, and from command prompt run:

    npm install

    bower install

  3. To run the code, run:

    node server.js

  4. In the browser open http://localhost:3000/, and you should see the index page

Exposed APIs:

GET /api/articles (returns list of articles)

POST /api/articles (create new article)

GET /api/articles/:articleId (returns an article with matching id)

DELETE /api/articles/:articleId (deletes the matching article)

GET /api/articles/edit/:articleId (returns an article with matching id)

PUT /api/articles/edit/:articleId (updates the matching article)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.6%
  • HTML 20.4%