Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conscious-puppet/posts-rest-api
Posts API built with express.
https://github.com/conscious-puppet/posts-rest-api
Last synced: 14 days ago
JSON representation
Posts API built with express.
- Host: GitHub
- URL: https://github.com/conscious-puppet/posts-rest-api
- Owner: conscious-puppet
- Created: 2021-02-01T14:49:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-16T06:59:17.000Z (almost 4 years ago)
- Last Synced: 2023-10-05T18:44:45.671Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Posts-REST-API
Posts API built with express.## Routes
```
@route GET /posts/
@desc Get all posts@route GET /posts/:id
@desc Get a post by id@route POST /posts
@desc Create a new post@route DELETE /posts/:id
@desc Delete a post by id@route PATCH /posts/:id
@desc Update a post by id
```## Quick Start
### Install Dependencies
```bash
# Install dependencies
npm install
```### Run
```bash
# Run the server
npm start
```