A simple web application.
This project is work in progress.
No. | Project | Completed |
---|---|---|
1 | User register | ✅ |
2 | User Login (Authorization by JWT) | ✅ |
3 | Post (Add and get list) | ✅ |
4 | API Document | ❌ |
5 | Docker | ✅ |
PostgreSQL is required.
$ docker build -t byoj .
$ docker run -d -v ${PWD}:/app -p 3435:3435 byoj:0.2
Modify config.yml
:
database:
hostname: 127.0.0.1 # host.docker.internal
Then run
$ go mod tidy
$ go build -o byoj .
$ ./byoj
Using following command to commit:
$ git add .
$ npm run commit