8000 GitHub - eddie2k/car_api: A code exercise about APIs...and cars
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

eddie2k/car_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The deployment of the application is fully automated using Docker. Assuming docker-compose is installed and ready, simply follow next steps to make it work.

  1. Build and run the docker containers. Execute:
docker-compose build
docker-compose up -d
  1. Access the server via browser or preferred client to test it (e.g.: http://localhost:34001/cars?location=51,-0.22707). The database is initialized with around 30k real locations. It might take a while until a 400-Ok is returned; until that moment, you'll get back 503-Service Unavailable.
  2. Once you're done, you can stop the containers using
docker-compose stop
docker-compose rm

About

A code exercise about APIs...and cars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0