/hello-rails-backend

Project with a React front-end and Rails back-end and connect them to display a random message.

Primary LanguageRuby

React Front-end Application : hello-react-front-end and its Pull Request

Hello Rails Back-end

Project with a React front-end and Rails back-end and connect them to display a random message.

Built With

  • Rails 7 ~ Ruby Web development framework

Getting Started

To get a local copy up and running follow these simple example steps

  • From your terminal enter in sequence
    • git clone git@github.com:od-c0d3r/hello-rails-backend.git
    • code hello-rails-backend

Available Scripts

In the project directory, run in order:

  • rails db:create

    • Creates the project database.
  • rails db:migrate

    • Creates the tables in the database.
  • rails db:seed

    • Populate the tables with default records.
  • rails server

    • Runs the app in the development mode.
      Open http://localhost:PORT to view it in your browser.

Usages

  • End-point /api/greeting
    • Method GET
    • Return random message from Stored messages in server database

Coders

👤 Omar Rashad

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