An open API service indexing awesome lists of open source software.

https://github.com/mnisarali/hello-rails-back-end

Aim of this repository is to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end
https://github.com/mnisarali/hello-rails-back-end

Last synced: about 2 months ago
JSON representation

Aim of this repository is to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end

Awesome Lists containing this project

README

        

[![Rails](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Ruby_On_Rails_Logo.svg/150px-Ruby_On_Rails_Logo.svg.png "rubyonrails") ](https://rubyonrails.org/)

# 📗 Table of Contents

- [📗 Table of Contents](#-table-of-contents)
- [📖 Hello Rails Back End ](#-hello-rails-back-end-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Installation](#installation)
- [Database Setup](#database-setup)
- [Running the App](#running-the-app)
- [Front End Project ](#front-end-project-)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [💖 Show your support ](#-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)

# 📖 Hello Rails Back End

**Hello Rails Back End** is an exercise to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end

## 🛠 Built With

### Tech Stack

Server

Database

### Key Features

The key features of this project include.

- **Random Greetings API**

(back to top)

## 💻 Getting Started

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

### Prerequisites

Before you begin, make sure you have the following installed on your machine:

- [x] Ruby: You can download Ruby [here](https://www.ruby-lang.org/en/downloads/).
- [x] Rails: You can install Rails by running the command `gem install rails` in your terminal.
- [x] A code editor (like VSCode, Sublime, Atom, etc.): You can download VSCode [here](https://code.visualstudio.com/download), Sublime [here](https://www.sublimetext.com/3), and Atom [here](https://atom.io/).
- [x] Git: You can download Git [here](https://git-scm.com/downloads).
- [x] Node.js: You can download Node.js [here](https://nodejs.org/en/download/).

### Setup

To setup this project locally:

1. Open terminal in VScode.
2. Navigate to the directory where you want clone the copy of this repository.
3. Create new directory [optional].
4. Clone the repository by running the following command:

```
git clone [email protected]:MNisarAli/hello-rails-back-end.git
```

5. Navigate into the cloned repository:

```
cd hello-rails-back-end
```

### Installation

Install the required dependencies by running the following command:

```
bundle install
```

### Database Setup

To create the database, run the following command:

```
rails db:create
```

To migrate the database schema, run the following command:

```
rails db:migrate
```

### Running the App

To run the application, run the following command:

```
rails server -p 3001
```

This will start the Rails development server and you can access the application by visiting http://localhost:3001 in your web browser.

(back to top)

## Front End Project

- [Front End Project Link](https://github.com/MNisarAli/hello-react-front-end)

## 👥 Authors

The collaborators of this project.

👨‍🚀 **M Nisar Ali**

- GitHub: [@MNisarAli](https://github.com/MNisarAli)
- Gmail: [@[email protected]](mailto:[email protected])
- LinkedIn: [@Muhammad Nisar Ali](https://www.linkedin.com/in/muhammad-nisar-ali)

(back to top)

## 🔭 Future Features

- [ ] **More conditional checking and features will be added in future**

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## 💖 Show your support

Give a ⭐️, if you like this project!, also follow me on [GitHub](https://github.com/MNisarAli) & [LinkedIn](https://www.linkedin.com/in/muhammad-nisar-ali).

(back to top)

## 🙏 Acknowledgments

I would like to thank:
- [Microverseinc](https://github.com/microverseinc) for [Readme-template](https://github.com/microverseinc/readme-template).
- [Rails](https://rubyonrails.org/) for the amazing framework.
- [PostgreSQL](https://www.postgresql.org/) for the amazing database.

(back to top)

## 📝 License

This project is [MIT](./LICENSE) licensed.

(back to top)