Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshludahl/restify_api
Playing with RESTify
https://github.com/joshludahl/restify_api
Last synced: 12 days ago
JSON representation
Playing with RESTify
- Host: GitHub
- URL: https://github.com/joshludahl/restify_api
- Owner: JoshLudahl
- Created: 2018-12-02T03:57:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T04:53:51.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T04:03:41.014Z (almost 2 years ago)
- Language: JavaScript
- Size: 130 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RESTify API
Playing with RESTify - This is a basic user login system using JSON Web Tokens for route protection.## Routes:
### User:
* POST '/register' - takes email and password and returns token
* GET '/users' - returns all users (must be authenticated)
* DELETE '/user/{id}' - deletes one user by id (must be authenticated & have authorization to delete user)
* POST '/login' - authenticates the user