1.0.0 • Published 6 years ago
asruljs v1.0.0
BLOG API
How to use :
$_ npm install
$_ npm start
Route in blog api
Route | Method | Description | Requirement |
---|---|---|---|
/api/auth/signup | POST | Sign Up to join as member in this blo | email, password, name |
/api/auth/signin | POST | Sign In to get token | email, password |
/api/articles | POST | Add new articles | token, title, content, category |
/api/articles/mine | GET | Get all article base token | token |
/api/articles | GET | Get all article | |
/api/articles/:id | GET | Get a article | |
/api/articles/:id | PUT | Update a article | token, title, content, category |
/api/articles/:id | DELETE | Delete a article base token | token, title, content, category |
1.0.0
6 years ago