https://github.com/yaairfernando/taker_api
API with ruby on rails based on a taker
https://github.com/yaairfernando/taker_api
api ruby ruby-on-rails
Last synced: about 2 months ago
JSON representation
API with ruby on rails based on a taker
- Host: GitHub
- URL: https://github.com/yaairfernando/taker_api
- Owner: yaairfernando
- Created: 2020-02-14T22:20:03.000Z (over 6 years ago)
- Default Branch: development
- Last Pushed: 2023-01-19T17:20:40.000Z (over 3 years ago)
- Last Synced: 2025-01-02T07:27:27.753Z (over 1 year ago)
- Topics: api, ruby, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
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]
Taker API
Ruby on rails api
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)
* [Prerequisites](#Prerequisites)
* [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 on Rails](https://rubyonrails.org/)
- [Mysql](https://rubygems.org/gems/mysql)
## 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 6.0.2.1
```
### 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/taker_api
```
Click on the console and to go to the folder that was created
```Shell
user@pc:~$ cd taker_api
```
```
user@pc:~/taker_api$ bundle install --without production
```
Set up the database by runnig the following command
```
user@pc:~/taker_api$ rails db:create
```
Download the database called db.sql and move it one directory up to your project

Go to the config/database.yml file and modify the username and password with your mysql user credentials

Run the following command to import the db.sql into your taker_api_development database
```
user@pc:~/taker_api$ mysql -u username -p taker_api_development < db.sql
```
Next, run the migrations:
```
user@pc:~$ rails db:migrate
```
Run this command if you encountered a problem runing rails db:migrate
```
user@pc:~$ bundle exec rails db:migrate
```
Finally, run the app in your local server:
```
user@pc:~$ rails server
```
Open your browser on [http://localhost:3000](http://localhost:3000)
To run the client go and follow the instruction here:
[day_care_application](https://github.com/YairFernando67/taker_admin_app)
## Contact
👤 **Yair Fernando Facio**

- 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/taker_api](https://github.com/YairFernando67/taker_api)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](https://github.com/YairFernando67/taker_api/issues).
## Show your support
Give a ⭐️ if you like this project!
[contributors-shield]: https://img.shields.io/github/contributors/YairFernando67/taker_api.svg?style=flat-square
[contributors-url]: https://github.com/YairFernando67/taker_api/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/YairFernando67/taker_api.svg?style=flat-square
[forks-url]: https://github.com/YairFernando67/taker_api/network/members
[stars-shield]: https://img.shields.io/github/stars/YairFernando67/taker_api.svg?style=flat-square
[stars-url]: https://github.com/YairFernando67/taker_api/stargazers
[issues-shield]: https://img.shields.io/github/issues/YairFernando67/taker_api.svg?style=flat-square
[issues-url]: https://github.com/YairFernando67/taker_api/issues
[license-shield]: https://img.shields.io/github/license/YairFernando67/taker_api.svg?style=flat-square
[license-url]: https://github.com/YairFernando67/taker_api/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/