Skip to content

An api that returns a random greeting message each time you call it.

Notifications You must be signed in to change notification settings

see-why/hello-rails-back-end

Repository files navigation

hello-rails-back-end

An api that returns a random greeting message each time you call it.

Built With

  • Ruby version 3.0.3
  • RoR version 7.0.2

Getting Started

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

Database creation

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

🤝 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

  • my dog Perry for the comforting lick here and there

📝 License

  • This project is MIT licensed.

About

An api that returns a random greeting message each time you call it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages