Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.