A Rails Back-end application that interacts with a React front-end API to display greetings from around the world You can find the React Front-end application at This Repo
- Ruby
- Ruby on Rails
- Postgresql
To get a local copy up and running follow these simple example steps.
- You need Ruby v3+, Rails v7+ and Postgresql installed on your machine.
Start Back-end Rails server
- Note -> You need to start the Rails server first at port 3000 then start the React server at a different port
- Clone the back-end rails API from
https://github.com/Alfredbis29/hello-rails-back-end.git
- navigate to the folder
cd hello-rails-back-end
- Install required gems
bundle install
- Load the database
rails db:reset
- Start server
rails s
Start Front-end React server
- Clone the project
https://github.com/Alfredbis29/hello_react_frontend.git
- navigate to the folder
cd hello_react_frontend
- run
npm i
to install all dependencies - Start server
npm start
and choose the yes option to start server in different port (not 3000) - Enjoy interacting with the app.
- GitHub: @Alfred
- LinkedIn:[@Alfred](https://www.linkedin.com/in/Alfred Bisimwa/)
- Twitter:AlfredBisimwa
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
Hat tip to anyone whose code inspired our project
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
...