https://github.com/vectormike/fud-service
https://github.com/vectormike/fud-service
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vectormike/fud-service
- Owner: Vectormike
- License: mit
- Created: 2020-09-16T06:36:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T07:25:48.000Z (over 5 years ago)
- Last Synced: 2025-02-02T06:41:28.493Z (over 1 year ago)
- Language: JavaScript
- Size: 52.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RESTful API Node Server For Fud
### API Endpoints
List of available routes:
**Auth routes**:\
`POST /v1/auth/register` - register\
`POST /v1/auth/login` - login\
`POST /v1/auth/refresh-tokens` - refresh auth tokens\
`POST /v1/auth/forgot-password` - send reset password email\
`POST /v1/auth/reset-password` - reset password
**User routes**:\
`POST /v1/users` - create a user\
`GET /v1/users` - get all users\
`GET /v1/users/:userId` - get user\
`PATCH /v1/users/:userId` - update user\
`DELETE /v1/users/:userId` - delete user
**Service routes**:\
`POST /v1/services` - create a service\
`GET /v1/services` - get all services\
`GET /v1/services/:serviceId` - get service\
`PUT /v1/services/:serviceId` - update service\
`DELETE /v1/services/:serviceId` - delete service\
## License
[MIT](LICENSE)