Skip to content

This exercise is going to entail the creation of a React front-end with a Rails back-end and connect them to display a random message. This is the back-end of the app.

Notifications You must be signed in to change notification settings

the-catalystmc/hello-rails-back-end

Repository files navigation

Hello Rails React App

The Hello Rails Back End is a simple API that returns a random greeting when a call is made to the endpoint.

Hello Rails FrontEnd

Live Demo

Repository

Built With

  • Ruby

Getting Started

Installation

  1. Clone the repo

    git clone git@github.com:the-catalystmc/hello-rails-back-end.git   

Usage

  1. Install ruby gems dependencies

    bundle install
  2. Install node dependencies

    npm install
  3. Database creation

    rails db:setup
    
  4. Run the web server

    rails server
  5. Access to the website in a browser with the following link

    localhost:3000
  6. Make calls to the API endpoints locally with the following link

    http://127.0.0.1:3000/v1/messages

Acknowledgements

  • 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.

Author

👤 Rhyine S

🤝 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!

📝 License

This project is MIT licensed.

About

This exercise is going to entail the creation of a React front-end with a Rails back-end and connect them to display a random message. This is the back-end of the app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published