DevMata / jsonapi_v2

A improved version of JSON API. Implemented with Express and MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLOG JSON API v.2

JSON API implemented with Typescript. Allows to manage anonymous blogs and their comments. This version was builded with Express framework and Mongoose ODM.

Start

  1. run npm install
  2. start mongod service
  3. run npm run compile
  4. run npm run start

Considerations

  • Endpoint of blogs is localhost:3000/blogs/:id
  • Endpoint of comments is localhost:3000/blogs/:id/comments/:id
  • API only allows JSON

API examples

Examples of the usage of the API can be found as Postman documentation here

About

A improved version of JSON API. Implemented with Express and MongoDB


Languages

Language:TypeScript 100.0%