This is a basic web application that demonstrates user registration using Express.js and MongoDB. Users can fill out a registration form, and their data is stored in a MongoDB database.
Express.js --> web framework backend endpoint create Mongoose --> to connect backend endpoint to mongodb database for storing data EJS -->for creating dynamic template Body-parser --> it is a middleware to parse the request come in the form http request and understand them crypto --> lib to encrypt and decrypt the password respectively nodemon --> it is used to start the server in development environment
-
Clone the repository:
git clone https://github.com/your-username/your-project.git cd your-project
-
Install dependencies & setup metadata:
npm install
-
Ensure MongoDB is running Make sure that MongoDB is running locally
-
Start the app: npm start
-
Access the app: Open your web browser and navigate to http://localhost:3000
-
Fill out the registration form and submit