Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikoletaxvs/ruby-on-rails-rest-api
A CRUD Rest API implemented on Ruby on Rails,with jwt authentication.
https://github.com/nikoletaxvs/ruby-on-rails-rest-api
Last synced: 11 days ago
JSON representation
A CRUD Rest API implemented on Ruby on Rails,with jwt authentication.
- Host: GitHub
- URL: https://github.com/nikoletaxvs/ruby-on-rails-rest-api
- Owner: nikoletaxvs
- Created: 2023-08-16T20:10:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-01T14:50:18.000Z (over 1 year ago)
- Last Synced: 2024-11-05T13:13:03.725Z (about 2 months ago)
- Language: Ruby
- Size: 44.9 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rest api routes and their functionality
Youtube Presentation at : https://www.youtube.com/watch?v=OtpAp2BdoWI&t=1s
![image](https://github.com/nikoletaxvs/ruby-on-rails-rest-api/assets/60019367/5edc36ca-9482-4b53-ad37-3be1f1960ef4)Endpoint - Functionality
POST /signup Signup
POST /auth/login Login
GET /todos List all todos and todo items
POST /todos Create a new todo
GET /todos/:id Get a todo
PUT /todos/:id Update a todo
DELETE /todos/:id Delete a todo and its items
GET /todos/:id/items List items for a todo
GET /todos/:id/items/:iid Get a todo item
POST /todos/:id/items Create a new todo item
PUT /todos/:id/items/:iid Update a todo item
DELETE /todos/:id/items/:iid Delete a todo item
Logout can be done through swagger.