Skip to content

CU-Assignments/experiment-1-full-stack-implementation-using-mern-22BCS12341

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Full-Stack Login System

This is a full-stack login system built using MongoDB, Node.js, React, and Express. The project includes a sign-up page where users can register with their full name, college email, and password. Once registered, users can log in if their credentials match.

🛠 Tech Stack

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB

✨ Features

  • User Signup with:
    • Full Name
    • College Email
    • Password
  • Password matching validation
  • Secure user authentication
  • Deployed login page: Live Demo

📸 Screenshots

Signup Page

Signup Page

Login Page

Login Page

Successful Login

Error

Invalid Credentials

Dashboard

🚀 Installation & Setup

  1. Clone the Repository:
    git clone https://github.com/yourusername/your-repo.git
    cd your-repo
  2. Backend Setup:
    cd backend
    npm install
    npm start
  3. Frontend Setup:
    cd frontend
    npm install
    npm start
  4. Run the App:
    • The frontend will be available at http://localhost:3000
    • The backend will run on http://localhost:5000

📌 Folder Structure

├── backend
│   ├── models
│   ├── routes
│   ├── server.js
│   ├── .env
│   ├── package.json
├── frontend
│   ├── src
│   ├── public
│   ├── package.json
├── README.md

🔑 Environment Variables

Create a .env file in the backend directory and add:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

🤝 Contributing

Feel free to fork this repository and make improvements. If you find any issues, open a pull request!

📜 License

This project is licensed under the MIT License.


📩 Connect with Me

[LinkedIn]www.linkedin.com/in/abhishekraj099) | GitHub

About

experiment-1-full-stack-implementation-using-mern-22BCS12341 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •