A monolithic approach to using rails and react
- Ruby on Rails
- PostgreSQL
- React
To get a local copy up and running follow these simple example steps.
- Make sure you have Ruby on Rails set up properly on your computer
- Clone or download this repo on your machine
- Enter project directory
bundle install
# Install JS dependencies
yarn
# Create user
sudo -u postgres createuser hello_rails_react -s
# Create the database
rails db:create
## Apply migration
rails db:migrate
# Seed database with 5 greetings
rails db:seed
rails s
### Undo migration
rake db:migrate VERSION=0
๐ค Usman
- GitHub: @usmansbk
- LinkedIn: Usman Suleiman Babakolo
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
- Microverse