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

https://github.com/yaairfernando/toyapp

Basic Rails App to show how to use models with rails
https://github.com/yaairfernando/toyapp

ruby ruby-on-rails

Last synced: about 2 months ago
JSON representation

Basic Rails App to show how to use models with rails

Awesome Lists containing this project

README

          

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![LinkedIn][linkedin-shield2]][linkedin-url2]
[![Hireable][hireable]][hireable-url]




Rails Application Toy App


Ruby on rails application that implements a basic association between models


Explore the docs »




View Demo
·
Report Bug
·
Request Feature

## Table of Contents
* [About the Project](#about-the-project)
* [Built With](#built-with)
* [Required Installations](#Required-Installations)
* [Installing](#Installing)
* [Instructions](#Instructions)
* [Contact](#contact)
* [Contributing](#Contributing)
* [Show your support](#Show-your-support)

## About The Project

### Built With
The project was developed using the following technologies:
- [RUBY AND RAILS](https://rubyonrails.org/)

## Required Installations

### Prerequisites

This project runs on [Ruby](https://www.ruby-lang.org/en/documentation/installation/), and [Rails](http://installrails.com/)

* Ruby
* Rails

After installation, run `ruby -v` to make sure Ruby installed correctly. Example
```
$ ruby -v
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-linux]
```

Also make sure that Rails is installed, but running `rails -v`.
Example
```
$ rails -v
Rails 5.2.4
```

### Installing

Install the following to get this project running in your machine:

### Instructions

Follow these steps:

Clone the Repository

```Shell
user@pc:~$ git clone https://github.com/YairFernando67/ToyApp
```

Click on the console and to go to the folder that was created

```Shell
user@pc:~$ cd ToyApp
```

```
user@pc:~/ToyApp$ bundle install --without production
```

Next, migrate the database:

```
user@pc:~/ToyApp$ rails db:migrate
```

Run this command if you encountered a problem runing rails db:migrate

```
user@pc:~/ToyApp$ bundle exec rails db:migrate
```

Finally, run the app in a local server:

```
$ rails server
```

Open your browser on [http://localhost:3000](http://localhost:3000)

## Contact

👤 **Yair Fernando Facio**



![Screenshot Image](app/assets/images/logo.jpg)

- Github: [@YairFernando67](https://github.com/YairFernando67)
- Twitter: [@YairFernando18](https://twitter.com/YairFernando18)
- Linkedin: [softwaredeveloperyairfacio](https://www.linkedin.com/in/softwaredeveloperyairfacio/)
- Email: [yair.facio11@gmail.com](https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=yair.facio11@gmail.com)
- Portfolio: [softwaredeveloper](https://yairfernando67.github.io/Portfolio/)

Project Link: [https://github.com/YairFernando67/ToyApp](https://github.com/YairFernando67/ToyApp)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the [issues page](https://github.com/YairFernando67/ToyApp/issues).

## Show your support

Give a ⭐️ if you like this project!

[contributors-shield]: https://img.shields.io/github/contributors/YairFernando67/ToyApp.svg?style=flat-square
[contributors-url]: https://github.com/YairFernando67/ToyApp/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/YairFernando67/ToyApp.svg?style=flat-square
[forks-url]: https://github.com/YairFernando67/ToyApp/network/members
[stars-shield]: https://img.shields.io/github/stars/YairFernando67/ToyApp.svg?style=flat-square
[stars-url]: https://github.com/YairFernando67/ToyApp/stargazers
[issues-shield]: https://img.shields.io/github/issues/YairFernando67/ToyApp.svg?style=flat-square
[issues-url]: https://github.com/YairFernando67/ToyApp/issues
[license-shield]: https://img.shields.io/github/license/YairFernando67/ToyApp.svg?style=flat-square
[license-url]: https://github.com/YairFernando67/ToyApp/blob/master/LICENSE.txt
[linkedin-shield2]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url2]: https://www.linkedin.com/in/softwaredeveloperyairfacio/
[hireable]: https://cdn.rawgit.com/hiendv/hireable/master/styles/flat/yes.svg
[hireable-url]: https://www.linkedin.com/in/softwaredeveloperyairfacio/