An api that returns a random greeting message each time you call it.
- Ruby version 3.0.3
- RoR version 7.0.2
The project comes shipped with linters config for ruby, so ensure you have Rubocop installed in your local environment
- Ensure you have postgresql, nodejs, ruby and rails set up on your machine
- To get a local copy of the repository please run the following commands on your terminal:
- $ git clone https://github.com/see-why/hello-rails-back-end.git
- $ to test or consume the api you can git clone a react front end and set up locally
- $ run
bundle install
to couple all dependacies in gem files - $ run
npm install
to couple all dependacies in package.json files - $ run
rails s
to start rails server
Run rails db:create db:migrate db:seed
Seeding adds five random greetings to the greeting table.
P.S : if you are coming from a previous version, you might want to delete the database by running rails db:drop (run with caution as all data will be lost)
👤 Cyril Iyadi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- my dog Perry for the comforting lick here and there
- This project is MIT licensed.