Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 582 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 582 Bytes

plassitunkki

Development setup

Frontend

In frontend directory:

npm install
npm run serve

Backend

In server directory:

npm install
npm run dev

API documentation

API base (root) can be set on config. Default value is /api/v1/.

GET /:accessToken
Returns the information of the Seating

POST /new_seating
Parameters: `name`
Creates a new Seating object and returns its data

POST /:accessToken/edit/:editToken/revokeAccessToken
Revokes the access token

POST /:accessToken/edit/:editToken/revokeEditToken
Revokes the edit token