Categorygithub.com/bymi15/PVS_API
module
0.0.0-20220106063124-176e0dbe1389
Repository: https://github.com/bymi15/pvs_api.git
Documentation: pkg.go.dev

# 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.

RouteMethodDescription
/api/helloworldGETReturns "Hello World"
/api/showcase-roomsGETExample tasks endpoint - returns all tasks
/api/showcase-rooms?id=1GETExample tasks endpoint - returns a task by id
/api/showcase-roomsPOSTExample tasks endpoint - creates a task (parameters parsed from body)
/api/showcase-rooms?id=1PUTExample tasks endpoint - updates a task by id(parameters parsed from body)
/api/showcase-rooms?id=1DELETEExample tasks endpoint - deletes a task by id

Running functions locally

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

# Packages

No description provided by the author
No description provided by the author