Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started