Question: Building an Express API: Create 3 endpoints Handle log in Handle registration data Handle account data These endpoints will make a log displaying all data

Building an Express API:
Create 3 endpoints
Handle log in
Handle registration data
Handle account data
These endpoints will make a log displaying all data captured and return a 2xx response. No database calls for this project.
Log in endpoint will return a 200
Registration data will return a 201
Account data will return a 200
Update your React project to use AJAX and make calls to this Express API. This means stopping the submit event default behavior and handling submission of data with JavaScript.
When the user submits data to log in, send the data to the log in endpoint
When the user submits data to register, send the data to the register endpoint
When the user submits data to update account, send the data to the account endpoint
Upon 2xx response from endpoints, then continue with updating state and normal flow of application
Must be mobile responsive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!