Display a random Greeting message retrieved an API
- Ruby
- Ruby on Rails
- PostgreSql
To get a local copy of this project:
- Make sure
Ruby
version ruby 2.5.0 or later is installed on your computer. - Make sure
ruby on rails
version 6.0.0 or later is installed on your computer. - Make sure
postgresql
is installed on your computer.
Clone this repository:
- Type in your terminal :
git clone git@github.com:danielufeli/hello-world-backend.git
-
Open the repository with
cd hello-world-backend
-
Use your favorite Integrated Development Environment (e.g. for Visual Studio Code the command is
code .
) -
To get started, In the root directory run:
gem install bundler
- Then run:
bundle install
- Run the command
rails db:create
to setup database. - Run the command
rake db:migrate
to create databse tables and columns. - Then
rails s
to launch the application
Track Ruby linter errors run:rubocop
To auto-correct Rubocop offenses run: rubocop --auto-correct-all
- To run All the tests:
- Open the terminal and run
bundle exec rspec spec
- Open the terminal and run
Daniel Ufeli
- GitHub: @danielufeli
- Twitter: @danielufeli
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.