HunterX-7 / Hello-World

This repository contains a sample project that demonstrates how to connect a Ruby on Rails back-end with a React front-end. The goal of this exercise is to apply previous knowledge of using gems with Rails to connect the back-end with the front-end, while also introducing new techniques for handling JavaScript assets in a Rails application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

Hello World

πŸ“— Table of Contents

πŸ“– Hello World App

This repository contains a sample project that demonstrates how to connect a Ruby on Rails back-end with a React front-end. The goal of this exercise is to apply previous knowledge of using gems with Rails to connect the back-end with the front-end, while also introducing new techniques for handling JavaScript assets in a Rails application.

πŸ›  Built With

Tech Stack

This project was implemented using:

Client
Server
Database

Key Features

  • Display a random greeting generated through an api call to rails database, front-end using react

πŸ’» Getting Started

To get a local copy up and running, follow these steps:

Prerequisites

In order to run this project you need to have installed:

  • You’ll need to have Ruby and Rails on your machine.

Optionally, in order to modify this project you should to have installed:

Setup

To clone this repository to your desired folder:

  • You can download the Zip file from the GitHub repository, or clone the repository with:
git clone https://github.com/HunterX-7/Hello-World.git
  • Access the cloned directory with:
cd Hello-World
  • Open it with your favorite code editor or with the live server

Usage

It is require that you setup your database to run this project, check the config/database.yml and make sure that the username and password match you postgresql setup, then run:

yarn
rails db:create
rails db:migrate

To run the front-end, execute the following commands in the project directory:

yarn build --watch

To run the project, execute the following command in the project directory:

rails server

(back to top)

πŸ‘₯ Authors

πŸ‘€ Francisco Quintero

(back to top)

πŸ”­ Future Features

We will implement this on the future:

  • Improve the user interface
  • Add other features

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

πŸ™ Acknowledgments

Hat tip to anyone whose code was used.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

This repository contains a sample project that demonstrates how to connect a Ruby on Rails back-end with a React front-end. The goal of this exercise is to apply previous knowledge of using gems with Rails to connect the back-end with the front-end, while also introducing new techniques for handling JavaScript assets in a Rails application.

License:MIT License


Languages

Language:Ruby 63.7%Language:HTML 15.5%Language:JavaScript 10.2%Language:Batchfile 8.1%Language:CSS 2.0%Language:Shell 0.4%