Skip to content

Gin web framework based project is apart of remote server project. It's responsibility is to provide API for front-end project.

Notifications You must be signed in to change notification settings

thanhgit/back-end-remote-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote-server

This is apart of remote server project. It's responsibility is to provide API for front-end project

Quickly

nohup go run main/main.go &

File Structure

.
|-- 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

Database using mysql

$ docker run --name remote-server -e MYSQL_ROOT_PASSWORD=123456 -d mysql --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci

Build go

go build -o remote-server ./main/main.go

Build docker-compose

./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

Functionality of application

  • Show dashboard

  • CRUD for servers, can navigate to sshweb2 or CRT

  • CRUD for dashboards

Technical Support or Questions

If you have questions or need help integrating the product please "[email protected]" instead of opening an issue.

About

Gin web framework based project is apart of remote server project. It's responsibility is to provide API for front-end project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published