ahmedadel56 / hello-rails-back-end

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello world rails back end

Description

This exercise is going to have you create a React front-end with a Rails back-end and connect them to display a random message.

React App

Getting Started

To get a local copy for this project and running follow these simple example steps.

Prerequisites

  • You need to have git installed in your machine.
  • Install a recent version of Postgres.
  • Already install Rails
  • Already insatll React

Setup

Creating the rails-react

Clone this repository

$ https://github.com/ahmedadel56/hello-rails-back-end.git
$ cd hello-rails-back-end

Create the database

$   rails db:create 
$   rails db:migrate

Run

$   bundle install

Starting up the Web Server

  • You can now run:
$   rails s # or
$   rails server -p3000 # to visit http://localhost/

Listing Existing Routes

  • You can now visit http://localhost:3000/ to view your new website!

Author

👤 Ahmed Adel

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

Acknowledgments

  • Thanks to my peers who are always there to offer support.

📝 License

This project is MIT licensed.

About

License:MIT License


Languages

Language:Ruby 98.9%Language:HTML 1.1%