Code Monkey home page Code Monkey logo

mern-urlfrontend's Introduction

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

URL Shortner Application

This project is a full-stack web application for password management, providing functionalities for signing up, logging in, resetting passwords, and more.

Features

User Authentication

  • Signup: Users can register for an account by providing necessary details like username, email, password, mobile number, and avatar.
  • Login: Registered users can sign in using their email and password.
  • Forgot Password: Users can request a password reset by providing their email.
  • Reset Password: Passwords can be reset using a token sent to the user's email.

User Dashboard

  • User Information: Once logged in, users can view their user ID, email, etc., on the dashboard.

Security

  • JWT Authentication: JSON Web Tokens are used for secure user authentication.

Miscellaneous

  • Avatar Selection: Users can select avatars during signup.
  • CORS Enabled: Cross-Origin Resource Sharing is enabled to allow interactions between frontend and backend on different domains.
  • Protected Routes: Certain routes are protected and require a valid token for access.

Tech Stack

Frontend

  • React
  • React Router
  • Bootstrap

Backend

  • Node.js
  • Express.js
  • MongoDB
  • JWT for Authentication

Deployment

Installation and Setup

  1. Clone the repository
  2. Install dependencies using npm install
  3. Start the frontend and backend servers
  4. Open the application in your browser

Usage

  • Signup: Access the signup page to create a new account.
  • Login: Log in with your credentials to access the dashboard.
  • Forgot Password: Reset your password by providing your email address.
  • Reset Password: Use the token received in your email to reset your password. -url shortner: To shorten the long url to short url.

License

[Insert License Here]

Contribution

Feel free to contribute to this project by creating a pull request.

  • http://localhost:5173/to see the output in localhost
  • here the various route paths are used to access the pages path='/' path="/signup" path="/login" path="/forgotPassword" path="/resetPassword/:token" path="/dashboard" path="/urlshortner"

mern-urlfrontend's People

Contributors

dineshkumar-mb 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.