Back-end Rails postgres server that contains an API that return random greetings!
- Ruby
- Ruby on Rails
- PostgreSQL
To get a local copy up and running follow these simple example steps.
To use this project you first need to have installed the following:
- Node.js
- Ruby
- PostgreSQL
- Rails
- Ruby version
The version of ruby that is needed for this project is
- 3.1.1
Once you have installed them, you need to use the following command to clone the repository:
git clone https://github.com/Yothu/hello-rails-back-end.git
Next, use this command to create the databases:
rake db:create
Use this command to run the migrations if necesessary:
rails db:migrate
Run the live server, but you have to make sure that you are running the 3000 port, so use this command to do it:
rails s -p 3000
To properly use this project you also need the Front-end. You can find it in this here. To not have problems with ports, you need to first run the Rails live server, and then the React one.
👤 David Vergaray
- GitHub: @Yothu
- Twiter: @Daivhy
- LinkedIn: David Vergaray
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Thanks to my family for all the support that thay give me.
This project is MIT licensed.