Skip to content

Implement a connection between a Ruby on Rails back-end and React front-end.

License

Notifications You must be signed in to change notification settings

sentayhu19/hello-rails-react

Repository files navigation

Hello-React-Rails

Description

Implement a connection between a Ruby on Rails back-end and React front-end. Generate randome greetings from Database and display using API.

Cloning the project

git clone https://github.com/sentayhu19/hello-rails-react

- cd hello-rails-react
- rails s

Built with

  • Ruby 3.1.2 on Rails 7.0.3.1
  • PostgreSQL

Prerequisites

Vscode or anyother Setup

Install

Ruby
Rails

Development Database

# Create user
sudo -u postgres createuser -e ced00 -s
# Load the schema
rails db:schema:load
#----- If you want prefer this approach
# Create the database
rake db:create
# Create database Migration
rails db:migrate

Run

rails s

Run tests

bundle install
rspec

Author

👤 Sentayhu Berhanu

Acknowledgment

For the desgin of this app thanks to the author of the original design

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

Implement a connection between a Ruby on Rails back-end and React front-end.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published