CRUD api implementation in golang with gorilla/mux for car database hosted in a dokcer container (Postgres)
To start the docker container for Postgres instance by running the dokcer_compose file in 'dockerfiles/docker_compose.yaml':
CRUD_API\dockerfiles> docker compose -f docker_compose.yaml up
To upload the table schema and data for cars to Postgres instance use the bash file in 'database/bash_files':
CRUD_API\dockerfiles\bash_files> bash dataupload.sh
- docker >= 17.12.0+
- docker-compose
- gorilla/mux
- lib/pq
This is a CRUD API written in go lang on a car (params: model,make,year) database hosted in a Docker container running Postgres instance and using gorilla/mux for multiplexing HTTP requests