/hello-world-backend

hello-world-backend$

Primary LanguageRuby

Rails Greetings API

Display a random Greeting message retrieved an API

Link to Frontend REPO

Frontend

Built With

  • Ruby
  • Ruby on Rails
  • PostgreSql

Live Demo (if available)

Coming Soon

Getting Started

To get a local copy of this project:

Prerequisites

  • 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

To track linter errors locally follow these steps:

Track Ruby linter errors run:rubocop

To auto-correct Rubocop offenses run: rubocop --auto-correct-all

Run tests

  • To run All the tests:
    • Open the terminal and run bundle exec rspec spec

Author

Daniel Ufeli

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.