sentayhu19 / hello-rails-back-end

React front-end with a Rails back-end and connect them to display a random message.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.Project with two apps

Link to Front-end

Front-end

Cloning the project

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

- cd hello-rails-back-end
- 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

React front-end with a Rails back-end and connect them to display a random message.

License:MIT License


Languages

Language:Ruby 68.8%Language:HTML 16.6%Language:Batchfile 8.8%Language:JavaScript 3.7%Language:CSS 2.1%