/taker_api

API with ruby on rails based on a taker

Primary LanguageRuby

Contributors Forks Stargazers Issues LinkedIn Hireable


Taker API

Ruby on rails api
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Built With

The project was developed using the following technologies:

Required Installations

Prerequisites

This project runs on Ruby, and Rails

  • 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

user@pc:~$ git clone https://github.com/YairFernando67/taker_api

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

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

DB Directory

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

DB Directory

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

To run the client go and follow the instruction here:

day_care_application

Contact

👤 Yair Fernando Facio

Screenshot Image

Project Link: https://github.com/YairFernando67/taker_api

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!