Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions

Question

Discuss communication challenges in a global environment.

Answered: 1 week ago