bymi15 / PVS_API

Project Virtual Showcase (PVS) API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Virtual Showcase (PVS)

Example API Endpoints

The route prefix is configured as /api, but you can change this in the netlify.toml config file under the [[redirects]] section.

Route Method Description
/api/helloworld GET Returns "Hello World"
/api/showcase-rooms GET Example tasks endpoint - returns all tasks
/api/showcase-rooms?id=1 GET Example tasks endpoint - returns a task by id
/api/showcase-rooms POST Example tasks endpoint - creates a task (parameters parsed from body)
/api/showcase-rooms?id=1 PUT Example tasks endpoint - updates a task by id(parameters parsed from body)
/api/showcase-rooms?id=1 DELETE Example tasks endpoint - deletes a task by id

Running functions locally

go run functions/src/showcaseRooms/showcaseRooms.go -port 8000

About

Project Virtual Showcase (PVS) API

License:Apache License 2.0


Languages

Language:Go 95.3%Language:HTML 4.3%Language:Makefile 0.4%