You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POST /signup
- Route for creating a new user
- body:{"email": "jon@doe.com","password": "DonJoe27"}
- response: {"token": "JWT_TOKEN"}
POST /signin
- Route for signing an existing user
- body:{"email": "jon@doe.com","password": "DonJoe27"}
- Response: {"token": JWT_TOKEN}
Tests
POST /tests
- Route for creating new tests
- headers: {"Authorization": "Bearer TOKEN"}
- body: {"name": "Matrixes and vector space","pdfUrl": "https://mywebsite.com/linearAlgebra/firstExam.pdf","categoryId": "1","disciplineId": "5","teacherId": "6",}
GET /tests/disciplines
- Route for finding all tests organized by terms and disciplines
- headers: {"Authorization": "Bearer TOKEN"}
- Response: array of tests
GET /credentials/teachers
- Route for finding all tests organized by teachers
- headers: {"Authorization": "Bearer TOKEN"}
- Response: credential