This is a Node.js Express web application that allows users to manage a list of users. The application features two main pages:
- User List Page: Displays a list of users with options to add or remove users.
- Edit User Page: Allows users to edit existing user information or create a new user. It includes a "back to list" button to return to the user list.
express-users-app
├── src
│ ├── app.ts
│ ├── controllers
│ │ └── userController.ts
│ ├── models
│ │ └── user.ts
│ ├── routes
│ │ └── userRoutes.ts
│ └── views
│ ├── layouts
│ │ └── main.ejs
│ ├── partials
│ │ ├── header.ejs
│ │ └── footer.ejs
│ ├── users
│ │ ├── list.ejs
│ │ └── edit.ejs
├── public
│ ├── css
│ │ └── style.css
│ └── js
│ └── main.js
├── package.json
├── tsconfig.json
└── README.md
-
Clone the repository:
git clone <repository-url>
-
Navigate to the project directory:
cd express-users-app
-
Install the dependencies:
npm install
-
Start the application:
npm start
- Add new users
- Remove existing users
- Edit user details
- Responsive design with header and footer
This project is licensed under the MIT License.