The Hello Rails Back End is a simple API that returns a random greeting when a call is made to the endpoint.
-
Clone the repo
git clone git@github.com:the-catalystmc/hello-rails-back-end.git
-
Install ruby gems dependencies
bundle install
-
Install node dependencies
npm install
-
Database creation
rails db:setup
-
Run the web server
rails server
-
Access to the website in a browser with the following link
localhost:3000
-
Make calls to the API endpoints locally with the following link
http://127.0.0.1:3000/v1/messages
- Use controllers to handle requests and render empty views.
- Install Ruby on Rails framework.
- Use Ruby Gems as a software packages system.
- Understand Rails naming conventions.
- Use params from browser requests in a safe way.
- Write tests for controllers.
👤 Rhyine S
- GitHub: @the-catalystmc
- Twitter: @catalystspeaks
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.