/ride-hailing-service-api

Ruby - Sinatra JSON RESTful API for ride hailing service.

Primary LanguageRuby

ride-hailing-service-api

Ruby - Sinatra JSON RESTful API for ride hailing service.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Install Docker
  • Using Docker for Development

Run locally

  1. Install Docker
  2. Create .env file with the files of example.env
  3. Run docker compose build
  4. Run docker compose up
  5. Server will be ready to listen request to the port 9090

Run tests

  1. docker compose -f docker-compose.test.yml build
  2. docker compose -f docker-compose.test.yml up --remove-orphans --force-recreate

Postman endpoints

In this link you'll find the posible methods and the body for respective request

Built With

Authors

  • Cristian Izaquita - Full stack developer - Cizaquita

References

DaniPB, ysn-77, Regniek, keinydev, svitery documentation