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

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

A simple rails api backend
https://github.com/libercosoft/hello-rails-back-end

Last synced: 2 months ago
JSON representation

A simple rails api backend

Awesome Lists containing this project

README

          

# 📗 Table of Contents

- [📗 Table of Contents](#-table-of-contents)
- [📖 HELLO RAILS BACKEND ](#-hello-rails-backend-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 React Frontend Link ](#-react-frontend-link-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Install \& Setup](#install--setup)
- [Tests](#tests)
- [Deployment](#deployment)
- [👥 Author ](#-author-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [📝 License ](#-license-)

# 📖 HELLO RAILS BACKEND

**hello-rails-react** is a simple api application built with Ruby on Rails that return a random message from the database

## 🛠 Built With

### Tech Stack

Server

Database

### Key Features

- **Setup Ruby on Rails with React**

(back to top)

## 🚀 React Frontend Link

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

(back to top)

## 💻 Getting Started

> To start and run this project
```
bundle install
```
```
rails s
```

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

### Prerequisites

- IDE / Editor
- Git
- PostgreSQL

### Install & Setup

To setup and install this sample ROR Blog project, follow the below steps:
- Clone this project by the command:

```
$ git clone https://github.com/LIBERCOSOFT/hello-rails-back-end.git
```

- Then switch to the project folder by the bellow query:

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

- Install the required dependecies with `bundle install`
- **Before running below commands update [config/database.yml](./config/database.yml) with your local `DB`credentials. Then run:**
- **`rails db:create`**
- **`rails db:migrate`**
- **`rails db:seed`**
- With Ruby on Rails and PostgreSQL installed in your environment, it also includes React and you can run `./bin/dev` to run the website.

### Tests

- Run `rails db:seed RAILS_ENV=test` to seed the testing database
- Run `rspec`

### Deployment

N/A

(back to top)

## 👥 Author

👤 **Kolapo Precious Akinrinlola**

- GitHub: [LIBERCOSOFT](https://github.com/LIBERCOSOFT)
- Twitter: [@Gerfieldt](https://twitter.com/Gerfieldt)
- LinkedIn: [Kolapo Akinrinlola](https://linkedin.com/in/kolapo-akinrinlola)

(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

If you like this project do not forget to start the repository.

(back to top)

## 📝 License

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

(back to top)