My Community App
This app will help my community organize events more easily!
Routes |
HTTP |
Description |
/api/hello?name={name} |
GET |
Print hello, {name} ! |
Routes |
HTTP |
Description |
/api/signup |
POST |
Signup a new user |
/api/signin |
POST |
User sign in and get credetial token after login |
Routes |
HTTP |
Description |
/api/users |
GET |
Get all users (admin only) |
/api/users/:id |
GET |
Get Single User (admin and authenticated user) |
/api/users/ |
POST |
Create a user (admin only) |
/api/users/:id |
DELETE |
Delete a user (admin only) |
/api/users/:id |
PUT |
Update data of a user (admin and authenticated user) |
/api/users/:id |
PATCH |
Update data of a user with specific new info |
Routes |
HTTP |
Description |
/api/users?name="{name}" |
GET |
Get {name} matched in users list |
/api/users?name="{na}" |
GET |
Get {na} like in users list |