Skip to content

Fatima-hub333/hello-rails-react

Repository files navigation

Rails-React-Hello-World

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

Built With

  • Ruby on Rails
  • React - Redux
  • Postgres SQL
  • Webpack

Live Demo (if available)

Not Available

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • You should have ruby installed in your machine, you can follow the steps given by the official documentation.

  • You should have a postgres user with superuser permissions. you can refer to the official postgres documentation to create or update a role.

Setup

First, you must clone this repository locally running this command:

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

and navigate to the cloned directory:

cd my-new-rails-ap

Install

Once inside the project directory, you should install all project dependencies:

  • Install bundler:
gem install bundler
  • Install project dependencies
bundle install

Usage

You can get the app running locally by opening a local server:

bin/rails server

Run tests

If you're on a linux-based system, you could run the executable file to run all specs:

bin/rspec

Windows users have to specify ruby in this case:

ruby bin/rspec

👤 Fatima Zahir

🤝 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!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.