Skip to content

Hayyanshaikh/registration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MERN Stack Registration Form

This repository is a MERN (MongoDB, Express.js, React.js, Node.js) stack application that handles a simple and straightforward registration form.

Dependencies

  1. MongoDB: As a database server.
  2. Express.js: Server framework.
  3. React.js: Front-end framework.
  4. Node.js: Server-side JavaScript runtime.

How to Run

  1. First, ensure that your local machine has the MongoDB server running.
  2. Navigate to the server folder in the terminal and run npm install.
  3. Start the server with nodemon server.js.
  4. Go to the client folder in the terminal and run npm install.
  5. Start the client with npm run dev.
  6. Now, you can access the registration form at http://localhost:5173.

Database Configuration

  • The configuration for the MongoDB server is done in the server/config/db.js file.
  • The database schema is defined in server/models/User.js.

Important Note

  • Before using this application, please set your MongoDB connection string in the config/default.json file.

Project Details

Contributing

If you intend to contribute by fixing issues or adding new features, please refer to CONTRIBUTING.md.

Questions

For any questions or issues, please refer to ISSUES.md.

Thank you!