📗 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
🚀 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
👥 Authors
👤 Jorge Abrahan
- GitHub: @jorgeabrahan
- LinkedIn: Jorge Abrahan
🔭 Future Features
- Deploy application in Render
- Improve cyclomathic complexity in some methods
🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
⭐️ Show your support
If you like this project you can just cheer me up with a comment 🙂!
🙏 Acknowledgments
Original project idea by Microverse
❓ 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.
📝 License
This project is MIT licensed.