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

jorgeabrahan/hello-rails-react

Repository files navigation

📗 Table of Contents

📖 Hello rails react app

Hello rails react app Implements a connection between a Ruby on Rails back-end and React front-end.

🛠 Built With

Tech Stack

Client
Database

Key Features

  • Implements a connection between a Ruby on Rails back-end and React front-end

(back to top)

🚀 Live Demo

  • No live demo yet.

💻 Getting Started

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

Prerequisites

In order to run this project you need:

  • Git SCM
  • Ruby installed
  • Rails installed
  • PostgreSQL and SQL installed

And in case you want to run capybara tests:

  • Chromedriver
  • WSL activated
  • Ubuntu or any other linux distro shell installed

Setup

Clone this repository to your desired folder:

git clone https://github.com/jorgeabrahan/hello_rails_react.git

Or download the ZIP folder.

Install

Once you've cloned the repository simply run:

bundle install
rails db:create
rails db:migrate

If it doesn't work because the server got disconnected you might need to change the credentials for your own psql credentials in the database.yml file.

Usage

To run the project, if you are on the blog folder path on your terminal you can execute the following command:

rails server

Run tests

To start tests run:

rspec spec # for rspec tests
rails test:system # for capybara tests

Deployment

  • Render

(back to top)

👥 Authors

👤 Jorge Abrahan

(back to top)

🔭 Future Features

  • Deploy application in Render
  • Improve cyclomathic complexity in some methods

(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 you can just cheer me up with a comment 🙂!

(back to top)

🙏 Acknowledgments

Original project idea by Microverse

(back to top)

❓ FAQ

  • What is this project main purpose?

    • To practice working with Ruby on Rails, React, PostgreSQL and interpret entity relationship diagrams, UML class diagrams and build UIs in ruby based on design guidelines.

(back to top)

📝 License

This project is MIT licensed.

(back to top)