An API for creating and managing quizzes, which supports sign up and authentication.
Go to Kwiz API Docs for a Swagger UI interface
All endpoints except /api/signin requires authentication in form of JWT tokens in Authorization header:
Authorization: Bearer
n>
/: A Swagger UI interface for the API
/api: Home page of the API giving a brief of endpoints/api/kwizes/{id}: Get a kwiz with it's ID/api/questions/{id}: Get a question with it's ID
/api/signup: Make an account to start using the API/api/auth: Get a JWT token for authentication/api/kwizes/{id}: Create a new quiz/api/questions/{id}: Create a new question for a kwiz
/api/kwizes/{id}: Batch edit all questions of a kwiz at once/api/password: Change the password of the authenticated user
/api/kwizes/{id}: Delete a kwiz with it's ID/api/questions/{id}: Delete a question with it's ID
- JWT: Used for Authentication
- PostgreSQL: SQL based database to store all kwizes
- Vercel Serverless Functions: Each route of the API is a server function
- Typescript: The whole API is written in typescript
NOTE: This is a testing API and is not meant for production use.