/React-Rails-Hello

Basic testing project for setting up a Ror project using rails

Primary LanguageRubyMIT LicenseMIT

React-rails-hello

A simple repo for testing how to run React in a Ror project. It consists on a react component rendering a random greeting message fetched from the '/greetings' API endpoint created with rails.

Built With

  • Ruby on rails
  • React
  • Webpack

Getting Started

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

Prerequisites

Rails 7

Ruby v 3.1.2

Setup

Clone this repo and open it locally:

git clone git@github.com:GiuseppeTG/React-Rails-Hello.git

cd React-Rails-Hello

Install

  • npm install
  • bundle install

Usage

rails db:create db:migrate db:seed rails s

Authors

👤 Giuseppe Tomasini

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