Skip to content

sandy1in/UserManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserManagement

customer.js:

Front-end: Defines routes for various customer-related actions such as viewing, adding, editing, and deleting customers. Back-end: Maps these routes to corresponding controller functions, facilitating communication between the client and the server for managing customer data.

Customer.js:

This file defines the structure of the Customer model. Back-end: Defines the schema for customer data, including fields like first name, last name, telephone, email, etc., enabling the back-end to interact with MongoDB to store and retrieve customer information.

app.js:

Front-end: Sets up middleware for handling form data, method override for HTTP verbs, and sessions for user authentication. Back-end: Initializes the Express application, connects to the database, configures views using EJS, and defines routes to manage user requests, ultimately starting the server to listen for incoming connections.

Commands To Run In Frontend Terminal npm start

images_for_web/home images_for_web/view images_for_web/edit images_for_web/about images_for_web/delete images_for_web/database

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published