WebApp Development process

Source: Internet
Author: User
Get ready
  1. Complete the GitHub warehouse
  2. Clone GitHub Warehouse to Local
  3. Create a local warehouse Express app
Client Side
  1. Add Static Home: Login page
  2. Bind the login page data and Vue
  3. The method of binding the button via Vue: Implementing AJAX submissions.
Server Side
  1. By app.js processing the request of Ajax, the user and password are removed and displayed through the console.
  2. Create a JSON array on the server side, implement a user name and password comparison, play the validation results to AJAX Ajax side, * username password match, jump to the main page. * User name exists, password error, prompt * User does not exist, prompt
  3. To store user information via MySQL database instead
  4. Set the response header, which is the client's ability to differentiate how it is handled based on header information.
  5. Use node's crypto module for password encryption
  6. Use cookies to maintain user login (after successful login, you can only access it within a specified time, you do not need to log in again)

WebApp Development process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.