https://github.com/ntwigs/blaast
https://github.com/ntwigs/blaast
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ntwigs/blaast
- Owner: ntwigs
- Created: 2017-06-10T15:16:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-11T21:09:56.000Z (about 8 years ago)
- Last Synced: 2025-01-18T02:25:44.399Z (5 months ago)
- Language: JavaScript
- Size: 3.51 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BLAAST - Blog as a Service
#### Why the T?
Because a Blaast without the 'T' is just a Blaas, and that does not make sense.# What works
#### Entry
GET - / | Gets the entry point#### User
GET - /users | Gets all the users
GET - /users/:id | Gets a specific user
POST - /users | Create a user (register)
PATCH - /users | Update the user associated with your JWT
DELETE - /users | Delete the user associated with your JWT#### Auth
POST - /auth | Authenticates user and returns a JWT#### Post
GET - /posts | Gets all the blogposts
GET - /posts/:id | Gets a specific blogpost
GET - /posts/users/:id | Gets all the posts done by a specific user
POST - /posts | Creates a blogpost
PATCH - /posts/:id | Updates a specific blogpost
DELETE - /posts/:id | Deletes a specific blogpost#### Comment
GET - /comments | Gets all the comments
GET - /comments/:id | Gets a specific comment
GET - /comments/users/:id | Gets all the comments done by a specific user
GET - /comments/posts/:id | Gets all the comments done on a specific blogpost
POST - /comments/posts/:id | Creates a comment on a specific blogpost
PATCH - /comments/:id | Updates a specific comment
DELETE - /comments/:id | Deletes a specific comment#### Webhook
GET - /webhooks | Gets all the webhooks
GET - /webhooks/:id | Gets a specific webhook
POST - /webhooks | Create a webhook
PATCH - /webhooks/:id | Updates a specific webhook
DELETE - /webhooks/:id | Deletes a specific webhook