Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 914 Bytes

README.md

File metadata and controls

50 lines (28 loc) · 914 Bytes

LOTUS: THE GAME (SERVER)

Table of Contents

Endpoints

Characters endpoint

GET /api/characters

Gets all the characters from the database.

GET /api/characters/:user

Gets a single character based on currently logged on user.

POST api/characters

Members Endpoint

POST /api/members

Creates a new member in the database.

Response: 200 OK

Quests Endpoint

GET /api/quests

Returns an array of all aquests from the database.

Response: 200 OK

GET /api/quests/own

Gets quests based on current user logged on.

GET /api/quests/:questId

Returns specified quest.

POST api/quests

Posts quest results to database.