This is apart of remote server project. It's responsibility is to provide API for front-end project
Remote server project (https://github.com/thanhgit/remote-server)
nohup go run main/main.go &
.
|-- main
| |-- api
| | -- api.go
| |-- db
| | |-- dbconnection.go
| | -- server.go
| |-- docs
| | -- docs.go
| |-- go.mod
| |-- go.sum
| |-- main.go
| -- web
| -- handler.go
-- vendor
|-- github.com
| -- swaggo
-- vendor.json
$ docker run --name remote-server -e MYSQL_ROOT_PASSWORD=123456 -d mysql --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
go build -o remote-server ./main/main.go
./build-script.sh
- GET /api/servers
- POST /api/servers
- POST /api/servers/:id_update
- DELETE /api/servers/:id_delete
- GET /api/websites
- POST /api/websites
- POST /api/websites/:id_update
- DELETE /api/websites/:id_delete
If you have questions or need help integrating the product please "[email protected]" instead of opening an issue.