Skip to content

sheshantsinha/go-backend-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-backend-project

It support only Add item and get item using DynamoDB.

API TO get users https://i5imc6al18.execute-api.us-east-2.amazonaws.com/api/eventFunction?email={email}

Sample Payload

API:- POST http://localhost:6000/event
Body {
    "ID": 7,
    "name": "Test name ",
    "description": "This is a test",
    "status": "Idle",
    "schedule": {
        "start_time": "10:20",
        "stop_time": "12:20"
    },
    "User": "xyz@gmail.com"
}

Sample Response

API:- GET https://i5imc6al18.execute-api.us-east-2.amazonaws.com/api/eventFunction?email=xyz@gmail.com
Response [{
    "ID": 7,
    "name": "Test name ",
    "description": "This is a test",
    "status": "Idle",
    "schedule": {
        "start_time": "10:20",
        "stop_time": "12:20"
    },
    "User": "xyz@gmail.com"
},
{
    "ID": 4,
    "name": "Test name 1 ",
    "description": "This is a test 0",
    "status": "Idle",
    "schedule": {
        "start_time": "01:20",
        "stop_time": "09:20"
    },
    "User": "xyz@gmail.com"
}]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages