Hello-world-backend is a simple Rails API that create a table for storing messages and create 5 different greetings. The API is consumed by Hello-React-Front-end.
Server
Database
- Store messages to database
- Render message as json format
- Render messages randomly
To get a local copy up and running, follow these steps.
In order to run this project you need:
ruby 3.2.2
rails
Clone this repository to your desired folder:
Example commands:
cd your-folder
git clone https://github.com/yash244466666/hello-rails-back-end.git
Install this project with:
Example command:
cd my-project
bundle install
To run the project, execute the following command:
Example command:
rails server
To run tests, run the following command:
Example command:
bin/rails rspec
π¨βπ Yash
- Add more greetings
- Add styles
- Add Header
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give it a βοΈ. Your support is greatly appreciated!
I would like to thank Microverse for giving me this chance to learn how to build a Rails API with a React frontend.
This project is MIT licensed.