Hello world backend: is the back is a hello world app using rails api.
-
Frontend link: https://github.com/matee-safi/hello-world-frontend.git
- Ruby
- Ruby On Rails
- PostgreSQL
- Display Random greeting
To get a local copy up and running, follow these steps.
In order to run this project you need:
- A basic understanding of Ruby, Rails and Git
- A postgresql connection
- Create some data before running to see Greatings
- Install Ruby
- Install Rails
- Clone this repo
git clone https://github.com/matee-safi/hello-world-backend.git
To run the project, execute the following command:
rails s
To add some greetings to your application add these to greeting table using
rails console
# Create the first greeting
Greeting.create(content: "Hello")
# Create the second greeting
Greeting.create(content: "Hola")
# Create the third greeting
Greeting.create(content: "Ola")
# Create the fourth greeting
Greeting.create(content: "Salaam")
# Create the fifth greeting
Greeting.create(content: "Salut")
👤 : Matee Safi
- GitHub: @matee-safi
- Modern UI
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give us a star
I would like to thank microverse for making this possible
This project is MIT licensed.