Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavohenriqueschmitz/countries-api
API to register countries, relating their states and cities.
https://github.com/gustavohenriqueschmitz/countries-api
api docker golang postgresql
Last synced: about 1 month ago
JSON representation
API to register countries, relating their states and cities.
- Host: GitHub
- URL: https://github.com/gustavohenriqueschmitz/countries-api
- Owner: GustavoHenriqueSchmitz
- License: mit
- Created: 2024-10-26T22:34:42.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T13:14:46.000Z (2 months ago)
- Last Synced: 2024-12-17T00:13:36.960Z (about 1 month ago)
- Topics: api, docker, golang, postgresql
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Countries API
## About the project
An API for registering of countries. Where you can register countries with their states and respective cities. With Post, Put, Get and Delete routes.## Used technology
- Golang
- Docker-Compose
- PostgreSQL## Installation
### Project clone
```
git clone https://github.com/GustavoHenriqueSchmitz/Countries-API.git
```### Install Golang V1.18.1 and Docker-Compose
Download Link: [Golang](https://go.dev/dl/)
Donwload Link: [Docker-Compose](https://docs.docker.com/compose/install/)### Install Dependencies
```
go mod download
```## Running App
**1 -** Open a terminal and run in the root directory of the project the command
```
docker-compose up
```**2 -** Open another terminal and run in the root directory of the project the command
```
go run main.go
```## Author
**Gustavo Henrique Schmitz****Linkedin:** https://www.linkedin.com/in/gustavo-henrique-schmitz
**Portfolio:** https://gustavohenriqueschmitz.com
**Email:** [email protected]