A basic rails API that works as a backend to display random greetings.
List of technologies used for this project
Client
Server
Database
- Add greetings table
- Add greetings controller
- Create API endpoint for the greeting
To get a local copy up and running, follow these steps.
In order to run this project you need:
gem install ruby
- Browser (Google Chrome, Mozilla Firefox, Safari or any other browser)
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/Luiscarlosvd/hello-rails-back-end.git
Install this project with:
cd hello-rails-back-end
bundle install
To run the project, execute the following command:
rails server -p 3001
Note: If there are any errors consider adding your necesary username and password in database.yml
for setting up your local enviroment and use the following comand:
rails db:create db:migrate
rails s
Note 2: Don't forget to add messages to the greetings table to tests results. 👌
👤 Luis Valera
- GitHub: @Luiscarlosvd
- Twitter: @Luiscarlosvd29
- LinkedIn: Luis Valera
- Add more API endpoints
- Add more functionality
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project,please give it a ⭐️!
I would like to thank Microverse for giving me the opportunity to learn and grow as a developer and also I like to thank my family, they are all my support. 🌟
-
Do I need to install any program before running this project?
- Yes, you need to install Ruby
-
Can I use this project for my own purposes?
- Yes, you can.
This project is MIT licensed.