Git Product home page Git Product logo

somnathkar000 / user-registration Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.93 MB

This is a web application that allows users to register, login, and manage their personal details, including changing their name and password. The application follows the given use cases and handles error scenarios.

Home Page: https://user-registration-somnath000.vercel.app

JavaScript 92.45% HTML 6.23% CSS 1.32%
becrypt expressjs jsonwebtoken matrial-ui mongodb nodejs reactjs

user-registration's Introduction

User Registration Web Application

This is a web application that allows users to register, login, and manage their personal details, including changing their name and password. The application follows the given use cases and handles error scenarios. It is implemented using Node.js, ReactJS, and MongoDB.

Home page

Home page

Sign up page

Sign up Page

Login page

Login Page

Features

  • User registration via email, name, and password.
  • User login via email and password.
  • Display of personal details on the main page after login.
  • Ability to change name and password details.
  • User logout functionality.
  • Proper error handling, including handling wrong password scenarios.

Technology Stack

  • Frontend: ReactJS, Material-UI
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)
  • Password Encryption: bcrypt.js

Demo

Check out the live demo of the website: User-registration Website

Installation

  1. Clone the repository: git clone https://github.com/SomnathKar000/User-registration
  2. Navigate to the project directory: cd User-registration
  3. Change the directory to the backend folder: cd backend
  4. Install the backend dependencies: npm install
  5. Return to the previous directory: cd ..
  6. Install the frontend dependencies: npm install

Environment Variables

  1. Create an .env file in the root directory of the project.
  2. Define the following environment variables in the .env file:
    • DB_URL=<your-db-url> : The MongoDB URL for connecting to the database.
    • JWT_SECRET_KEY=<your-secret-key> : The secret key used for authentication.

Usage

  1. Start the backend server: npm start (from the project backend directory)
  2. Start the frontend server: npm start (from the project root directory)
  3. Open the application in your browser: http://localhost:3000

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

Contact

For more information or questions, feel free to reach out:

user-registration's People

Contributors

somnathkar000 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.