Hello rails backend app with a greetings table to be connected with a react frontend.
Client
Database
- Greetings table to be connected with a react frontend
- No live demo yet.
To get a local copy up and running, follow these steps.
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
Clone this repository to your desired folder:
git clone https://github.com/jorgeabrahan/hello-rails-back-end.git
Or download the ZIP folder.
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.
To run the project, if you are on the blog folder path on your terminal you can execute the following command:
rails server
To start tests run:
rspec spec # for rspec tests
rails test:system # for capybara tests
- Render
👤 Jorge Abrahan
- GitHub: @jorgeabrahan
- LinkedIn: Jorge Abrahan
- Deploy application in Render
- Improve cyclomathic complexity in some methods
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project you can just cheer me up with a comment 🙂!
Original project idea by Microverse
-
What is this project main purpose?
- To practice working with Ruby on Rails, PostgreSQL and interpret entity relationship diagrams, UML class diagrams and build UIs in ruby based on design guidelines.
This project is MIT licensed.