- In This Assignment You Are Requested To Develop A Client Server Log In Web Application Using What You Have Learned So F 1 (87.01 KiB) Viewed 56 times
In this assignment, you are requested to develop a client/server log-in web application using what you have learned so f
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
In this assignment, you are requested to develop a client/server log-in web application using what you have learned so f
In this assignment, you are requested to develop a client/server log-in web application using what you have learned so far. Specifically, use 'html', 'express', 'node 'and 'restful request/response for developing client and server components, respectively. In your client-side (html), add the following hyperlinks to the page: 1. Log In 2. Register ● When "Register" is clicked, the user is redirected to a web page that reads username and password from user. Once submitted, the username and password of the user are recorded in a text file (myDB.txt), separated by a comma (we use a comma-based database for now). For instance: John, 1234 Alex, 2ws4 This file would serve as our database and you will need to store the user data into it. Note: The server should not add a user if a duplicate username already exists in the database. Once "Log In" is selected, the user is redirected to another html page to enter username and password. Once submitted, the user is welcomed if the username and password is found on the database. Otherwise, appropriate message should be responded to the user.