Skip to content

JessicaML/NYCDA-TA-user-info-app

Repository files navigation

User Information App - Web Server

Create a Node.js application that is the beginning of a user management system. Your users are all saved in a "users.json" file, and you can currently do the following:

  • search for users
  • add new new users to your users file.

Part 0

Create one route:

  • route 1: renders a page that displays all your users.

Part 1

Create two more routes:

  • route 2: renders a page that displays a form which is your search bar.
  • route 3: takes in the post request from your form, then displays matching users on a new page. Users should be matched based on whether either their first or last name contains the input string.

Part 2

Create two more routes:

  • route 4: renders a page with three inputs on a form (first name, last name, and email) that allows you to add new users to the users.json file.
  • route 5: takes in the post request from the 'create user' form, then adds the user to the users.json file. Once that is complete, redirects to the route that displays all your users (from part 0).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published