-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Routes
User-facing routes
Log In Page
- [
POST /login
]
Registration page
- [
POST /signup
]
Authentication required to have all features, but generic splash page will display otherwise.
Search bar, user profile and icon, saved decks, create new deck and navigation bar.
Logged in
- [
GET /api/savedDecks
]
Logged out
- [
GET /api/decks
]
Both
- [
GET /api/tags
]
Authentication required to access
Displays all saved user decks. User can study from here or unsave any decks.
- [
GET /api/savedDecks
] - [
DELETE /api/savedDecks/:id
]
Authentication required to access
Create a new deck to study and add tags to the deck.
- [
POST /api/decks
] - [
POST /api/savedDecks
]
Authentication required to save/unsave decks.
Browse other decks to study and save/unsave list to your own deck.
- [
GET /api/decks
] - [
POST /api/savedDecks
] - [
DELETE /api/savedDecks/:id
]
Authentication required to save/unsave decks.
Browse other decks to study and save to your own list.
- [
GET /api/tags
] - [
POST /api/savedDecks
] - [
DELETE /api/savedDecks/:id
]
Authentication required to save/unsave.
Page to display a specific deck that you can study. Can also save or unsave the deck from here.
- [
GET /api/savedDecks
] - [
POST /api/savedDecks
] - [
DELETE /api/savedDecks/:id
]
Authentication required to access.
Studying the deck itself. Questions are display from here on cards.
- [
GET /api/questions
]
Authentication required to access.
Page displayed when finishing the deck. Shows how well user did and allocates experience earned.
- [
PUT /api/users
]