PVS_API

module
v0.0.0-...-176e0db Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0

README

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

Directories

Path Synopsis
db
functions

Jump to

Keyboard shortcuts

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