/Hello-Rails-Back-End

Just a simple project to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.

Primary LanguageRuby

📗 Table of Contents

📖 Hello World Backend

Hello World Backend is a simple repo to test the connection between React and Rails, using Redux store to show some quotes. This is the rails backend. Here is the react frontend.

🛠 Built With

Tech Stack

Key Features

  • Fetch greeting from database
  • Show random greeting

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps:

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

git clone git@github.com:billymohajeri/Hello-Rails-Back-End.git

Install

Install this project with:

cd Hello-Rails-Back-End

bundle install to install all gems used.

rails db:create to create the database.

rails db:migrate to run the database migrations you created.

rails db:seed to add some default greetings to the database.

Usage

To run the project, execute the following command:

rails s

(back to top)

👥 Authors

👤 Billy Mohajeri

(back to top)

🔭 Future Features

  • Add greeting button

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, please consider giving it a star.

(back to top)

🙏 Acknowledgments

  • I would like to thank all code reviewers for making this project better.

(back to top)

📝 License

This project is MIT licensed.

(back to top)