An open API service indexing awesome lists of open source software.

https://github.com/osamaesmail/phone-list-be


https://github.com/osamaesmail/phone-list-be

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# phone-list-be

# Architecture
based on 4 layer
* Model
* Repository
* Service
* Handler

## Features
- [x] containerized using `docker` and `docker-compose`
- [x] API Documentation using `swagger` (auto generated)
- [x] `pagination`
- [x] Middlewares `CORS`, `Logger`, `Recover`
- [x] Unit tests
- [ ] Benchmark
- [ ] Code Docs

## Requirements
* using docker
* docker
* docker-compose
* without docker
* golang (tested on `go1.17.2`)

## Run using docker
* don't forget `.env` file
* run `docker-compose up -d`
* open http://localhost:5001/swagger/index.html

## Run without docker
* don't forget `.env` file
* run `go run main.go`
* open http://localhost:5001/swagger/index.html

## Run tests
* run `make test`