https://github.com/twknab/rails_vite_react_material
🛸 A boilerplate Rails application using Vite + React18 + MaterialUI w/ PostgreSQL. Includes User registration, login and empty dashboard.
https://github.com/twknab/rails_vite_react_material
javascript material-ui postgresql rails reactjs ruby vite
Last synced: 3 months ago
JSON representation
🛸 A boilerplate Rails application using Vite + React18 + MaterialUI w/ PostgreSQL. Includes User registration, login and empty dashboard.
- Host: GitHub
- URL: https://github.com/twknab/rails_vite_react_material
- Owner: twknab
- Created: 2023-02-16T01:55:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T03:43:51.000Z (over 3 years ago)
- Last Synced: 2025-05-08T23:52:10.503Z (about 1 year ago)
- Topics: javascript, material-ui, postgresql, rails, reactjs, ruby, vite
- Language: Ruby
- Homepage:
- Size: 5.23 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
This README would normally document whatever steps are necessary to get the
application up and running.
Things you may want to cover:
* Ruby version: Ruby 3.2.1 & Rails 7.0.4.2
* System dependencies
* Configuration
* Install dependencies via `yarn install` or `npm install`
* Start vite with: `npm run dev`
* Start rails with `bin/rails server`
* Database creation
* Database initialization
* How to run the test suite
* Services (job queues, cache servers, search engines, etc.)
* Deployment instructions
## TODO
* use devise to create login/registraton functionality
* I might end up coding my own authentication using bcrypt and bail on this for now, or need to take another crack at integrating the API with react
* The challenge is since I'm using react and not rails views, I need to figure out how to login/authenticate/reset/logout without using the devise erbs
* add validations to model fields
* have basic lorem ipsum dashboard load for general purpose
* add backend tests for models and controllers
* fix jest interpretation issue with JSX
* deploy a working copy - dockerize entire project and deploy?
## Completed
* Create rails app + Vite + React + MaterialUI
* Create login form with client-side validation and graphic
* Create registration form with client-side valdiation and graphic
* Setup some basic front end tests
* Create User model and table