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
GET /rooms
GET /rooms/:id
POST /rooms
PUT /rooms/:id
DELETE /rooms/:id
For a description of each of these endpoints, see the DB model.
Follow proper API conventions and return status codes along with your response. Namely 200, 404, 500, etc.
Put your endpoints into /server/routes/[FILENAME].js
Replace FILENAME with the name of the DB table that the endpoint is for.
Don't Forget: use the keysToCamel function, as seen in the sample users.ts file, to make the SQL keys into camel case
Task 2
Create a skeleton for the "forgot password" page
Place your page in client/src/components/login/ForgotPassword.jsx
Add a route for /forgotpassword in the App.jsx file
Add a button to the login page which, when clicked, sends a user to ForgotPassword
Don't worry about the functionality yet
This sprint contains two tasks.
REMINDERS
Task 1
Create four more endpoints for the backend
For a description of each of these endpoints, see the DB model.
Follow proper API conventions and return status codes along with your response. Namely 200, 404, 500, etc.
Put your endpoints into
/server/routes/[FILENAME].js
Replace FILENAME with the name of the DB table that the endpoint is for.
Don't Forget: use the keysToCamel function, as seen in the sample users.ts file, to make the SQL keys into camel case
Task 2
Create a skeleton for the "forgot password" page
Place your page in client/src/components/login/ForgotPassword.jsx
Add a route for /forgotpassword in the App.jsx file
Add a button to the login page which, when clicked, sends a user to ForgotPassword
Don't worry about the functionality yet
Resources:
The text was updated successfully, but these errors were encountered: