This Repository, allow to created an API which can return a random greeting from message table created in the database. Then, this API will serve as entry point for a seperate react app that will display these these messages in its front-end UI.
- Ruby
- git
- Rails
- postgresql
To get a local copy up and running follow these simple example steps.
- Open terminal
- Clone this project by the command:
$ git clone git@github.com:Taher-web-dev/hello-rails-back-end.git
- Then go to the main folder using the next command:
$ cd hello-rails-back-end.
- Install Gemfile
$ bundle install
- Migrate table
$ rails db:migrate
- Add random greeting messages
$ rails db:seed
- Finally run rails s in your console to launch the local server.
👤 Taher Haggui
- GitHub: @Taher-web-dev
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- A big thanks for Microverse team.