This app was created have a React front-end with a Rails back-end and connected them to display a random message.
- Rails
- Ruby
- Linked To React as API
- PostgreSql
To get a local copy up and running follow these simple example steps.
clone this repo
- Navigate to the directory
cd hello-react-front-end
(case sensitive, make sure you type the correct path) - Run
bundle install
in your terminal (in case you need to update gems runbundle update
) - To setup database run the following commands:
rails db:create
rails db:migrate
rails db:seed
(to populate initial data from db/seeds.rb file)
- Run
rails s
on your terminal - Enter http://localhost:3000/ or localhost:3000 on your browser to view the project.
- Congratulations! App should run successfully.
👤 Dozie Udeagha
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- etc
This project is MIT licensed.