Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.02 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.02 KB

Planner-Service

This app is for those who is learning to build golang microservice. It helps to understand golang packages and code structuring. It is consumed by microfrontend for data handling.

Run the project

Clone the repo. Then in the project directory, run:

> git clone [email protected]:BishnuPandey/Planner-Service.git
> cd /your_folder_path
> go run main.go

Runs the app in the development mode. Open http://localhost:9000/api/tasks to view task list in your browser.

JSON Response

[
    {
        "_id": "65d2f86c9b0b24a5b82d640b",
        "status": false,
        "task": "Hello Go"
    },
    {
        "_id": "65d319bd541392e8899c973d",
        "status": false,
        "task": "SAMRIDDHI PANDEY"
    },
    {
        "_id": "65d32e0ac971a75c569bf7d4",
        "status": true,
        "task": "One"
    },
    {
        "_id": "65d3301f121105cf4cba469e",
        "status": false,
        "task": "Two"
    }
]