Passport Tracking
Check expiration date and send mail to manager before expiration date 3 months
Build
Import libraries
Enable and using go module in current terminal (Go >= 1.11)
$ export GO111MODULE=on
$ go mod vendor
Run in local
Start MongoDB service with PORT:27017
, can run it by docker image:
$ docker run -p 27017:27017 mongo:latest
Start server
$ go run main.go
Run in docker
Build the docker image
$ make docker
Run project in docker
$ make compose
Next, open your browser and access to link localhost:8080
Press Ctrl+C
to stop
Clean temporary data from docker
$ make clean
Structure
Library