Skip to content
John Chen edited this page Sep 30, 2020 · 3 revisions

Routes


Landing Page

GET '/' - Renders the Homepage of Website

GET '/signin' - Renders the sign in modal

GET '/signup' - Renders the signup modal


Users

GET '/' - Queries all users

POST '/signup' - Adds submitted user to the database. Creates Access Token

POST '/signin' - If user is found, logs in user, creates access token


Decks

POST '/deck/cards' - Queries all decks that belong to a logged in user, joins cards

POST '/create/deck' - Creates a new deck connected to the user


Dashboard

GET '/dashboard' - Renders Profile, Card, and Dashboard

Dashboard

Clone this wiki locally