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 endpoints
Handle log in
Handle registration data
Handle account data
These endpoints will make a log displaying all data captured and return a xx response. No database calls for this project.
Log in endpoint will return a
Registration data will return a
Account data will return a
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 xx 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
