Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/diogeneshas/rails-ajax-crud

CRUD using Rails + AJAX
https://github.com/diogeneshas/rails-ajax-crud

ajax bootstrap5 rails6

Last synced: 9 days ago
JSON representation

CRUD using Rails + AJAX

Awesome Lists containing this project

README

        

# Implementation of CRUD using Rails + AJAX

Things i want to cover:

* Setup new Rails application

* Create a controller and route to new custom root page

* Add Bootstrap 5, Jquery and Popper Js using yarn

* Add header and footer using bootstrap for styles

* Add bootstrap styles for home page

* Add a resource(user) using scaffolding

* Add validations to model

* Prepare some seed data using faker gem

* Add Bootstrap to resource view

* Create using AJAX

* Read using AJAX

* Update using AJAX

* Delete using AJAX

* Handling validation errors on form

![Home Screen](https://github.com/diogeneshas/rails-ajax-crud/blob/d80e0a931e12e2cd733c0a4d138d4d4d1f88200e/public/Screenshot%20from%202021-12-07%2023-36-14.png)
![Home Screen](https://github.com/diogeneshas/rails-ajax-crud/blob/d80e0a931e12e2cd733c0a4d138d4d4d1f88200e/public/Screenshot%20from%202021-12-07%2023-36-39.png)
![Home Screen](https://github.com/diogeneshas/rails-ajax-crud/blob/d80e0a931e12e2cd733c0a4d138d4d4d1f88200e/public/Screenshot%20from%202021-12-07%2023-37-09.png)