Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ljbatwh/nodejs-rest-blog-api
A blog API build with node.js, express, mongoose and mongodb.
https://github.com/ljbatwh/nodejs-rest-blog-api
Last synced: 14 days ago
JSON representation
A blog API build with node.js, express, mongoose and mongodb.
- Host: GitHub
- URL: https://github.com/ljbatwh/nodejs-rest-blog-api
- Owner: ljbatwh
- Created: 2020-05-26T09:45:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T13:10:51.000Z (about 5 years ago)
- Last Synced: 2024-11-06T02:42:48.994Z (2 months ago)
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### This is not completed yet! I am Working on it!
___## A blog API build with node.js, express, mongoose and mongodb.
___
**Documentation - Blog API - v0.1****Routes**
- Users
- PostsUser endpoints:
|TYPE|PATH|DESCRIPTION|
|--|--|--|
|POST|/users|Create a new user|
|GET|/users|Get all users|
|GET|/users/{:id}|Get a user by id|
|GET|/users/{:id}/posts|Get all posts of a user|
|PATCH|/users/{:id}|Update a user by id|
|DELETE|/users/{:id}|Delete a user by id|Post endpoints:
|TYPE|PATH|DESCRIPTION|
|--|--|--|
|POST|/posts|Create a new post|
|GET|/posts|Get all posts|
|GET|/posts/{:id}|Get a post by id|
|PATCH|/posts/{:id}|Update a post by id|
|DELETE|/posts/{:id}|Delete a post by id|