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
- Host: GitHub
- URL: https://github.com/mnisarali/hello-rails-back-end
- Owner: MNisarAli
- License: mit
- Created: 2024-02-16T15:57:15.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-02-18T17:07:49.000Z (about 1 year ago)
- Last Synced: 2024-10-11T15:10:51.785Z (7 months ago)
- Language: Ruby
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[ ](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** is an exercise to understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end
Server
Database
The key features of this project include.
- **Random Greetings API**
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.
- [Front End Project Link](https://github.com/MNisarAli/hello-react-front-end)
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)
- [ ] **More conditional checking and features will be added in future**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
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).
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.
This project is [MIT](./LICENSE) licensed.