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

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


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

back-end backend-api rails rails-api

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

        

![](https://img.shields.io/badge/Microverse-blueviolet)

# HELLO RAILS BACK END!

> Back-end Rails postgres server that contains an API that return random greetings!

## Built With

- Ruby
- Ruby on Rails
- PostgreSQL

## Getting Started

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

### Prerequisites

To use this project you first need to have installed the following:

+ Node.js
+ Ruby
+ PostgreSQL
+ Rails

* Ruby version

The version of ruby that is needed for this project is

+ 3.1.1

### Setup

Once you have installed them, you need to use the following command to clone the repository:

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

### Database creation

Next, use this command to create the databases:
```rake db:create```

Use this command to run the migrations if necesessary:
```rails db:migrate```
### Usage

Run the live server, but you have to make sure that you are running the 3000 port, so use this command to do it:

```rails s -p 3000```

#### Front-end
To properly use this project you also need the Front-end. You can find it in this [here](https://github.com/Yothu/hello-react-front-end).
To not have problems with ports, you need to first run the Rails live server, and then the React one.

## Author

👤 **David Vergaray**

- GitHub: [@Yothu](https://github.com/Yothu)
- Twiter: [@Daivhy](https://twitter.com/Daivhy)
- LinkedIn: [David Vergaray](https://www.linkedin.com/in/david-vergaray-almontes-051a11127/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

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

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Thanks to my family for all the support that thay give me.

## 📝 License

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