task-backend

module
v0.0.0-...-a003bba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MPL-2.0

README

task-backend Build Status

Task is a simple task management service deployed using Echo framework.

Application layout as below

├── LICENSE
├── Makefile
├── README.md
├── go.mod
├── go.sum
└── task-backend
    ├── cmd
    │   └── server
    │       └── main.go
    ├── controllers
    │   └── task_controller.go
    ├── models
    │   └── type.go
    ├── routes
    │   └── route.go
    └── services
        └── service.go

The task service api documentation can be found here documentation

To build the application :

$ make build

Output (Executable located in target folder):

cd task-backend/cmd/server/ && go build -o ../../../target/task-backend

To build and run the application :

$ make run

Output (Application runs on port=:8080) :

cd task-backend/cmd/server/ && go build -o ../../../target/task-backend
./target/task-backend

        ################################## ENDPOINT(S) #####################################

GET /api/v1/tasks
POST /api/v1/tasks
GET /api/v1/tasks/:id
DELETE /api/v1/tasks/:id
POST /api/v1/tasks

---

/ **/\_**/ / **_
/ _// **/ _ \/ _ \
/**\_/\__/_//\_/\_**/ v3.3.10-dev
High performance, minimalist Go web framework
https://echo.labstack.com
****************\_\_\_\_****************O/**\_\_\_**
O\
⇨ http server started on [::]:8080

Directories

Path Synopsis
task-backend

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL