Project to set up an API with rails to choose a random greeting from the DB. It consist of 1 route, the RandomGreetingsController with the index action that it's in charge of picking a random greeting object.
https://github.com/jose-Abel/hello-react-front-end
- rails
- rspec
- ffaker
- factory_bot_rails
To get a local copy up and running follow these simple example steps.
Go to the top of the page, press te green button that says "Code", and copy the link. Then you have to go to your console and type
git clone 'repository-link'
That's all, you are ready to go!
Run the following command to have all yarn packages dependencies installed:
bundle install
rails db:create
rails db:migrate
rails db:seed
To run the rails app, type the following command:
rails s
To run the rspec test files for Rails controller type the following
rspec
To run the Rails Rubocop rules, type the following
rubocop
- GitHub: Jose Abel Ramirez Frontany
- Linkedin: Jose Abel Ramirez Frontany
Contributions, issues, and feature requests are welcome!
This project is MIT licensed.
Give a ⭐️ if you like this project!