Coder Social home page Coder Social logo

mahikagarg09 / dashboard-user Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 228 KB

A dynamic user Dashboard using Nextjs and MongoDB.

Home Page: https://user-dashboard-ten-rho.vercel.app

CSS 0.11% JavaScript 99.89%
mongodb nextjs nodejs nodemailer tailwindcss cloudinary

dashboard-user's Introduction

Dynamic User Dashboard

This project aims to create a dynamic user dashboard having two sections: Profile and Connections.The frontend is built using Next.js and tailwind css while the backend is built using Node JS AND MongoDB.

Profile page-> dashbaord

Connections page-> connections

Objective

The aim of this user dashboard is to create a web page where user can manage his user profile dynamically.They can register/log in , update their profile and connect with people.

Technologies Used

  • FrontEnd : Next.js , Tailwind CSS , Vercel(deployment)
  • Backend : Node JS , MongoDB , Render(deployment)

Features

  • User Authentication using 2 factor Authentication
  • Editable User Profile
  • Adding or Removing Connections

FrontEnd Development

Register and Login Process

The application provides a secure way of user authentication. User can create account with his basic details and optionally provide details such as skills,experience etc. His account will be created after email verification. The passwords are encrypted and stored in a secure way.

User Profile

Profile of a user displays all the details such as his name,email,password,skills,experience ,education and certification.The user can update his information easily on clicking "edit" button.

Connections

The Connections page displays all the friends or user with whom the user have connected to or can connect to. The user can also remove connections from existing ones or add connections with people he can connect with.

Backend Development

API Endpoints

The backend provides API endpoints for:

  • User authentication
  • Fetching and updating user profiles
  • Managing user connections

MongoDB Integration

MongoDB is used for data storage and retrieval . User profiles and connections are stored and managed within the MongoDB database.

Deployment

The project is deployed using:

  • Frontend: Vercel
  • Backend: Render

Project Deployed Link: Live Site

Routes Used

  • Signup Page: /register
  • Login Page: /
  • User Profile Page: /user/profile
  • User Connections Page: /user/connections

How to Setup

Clone this repository

  git clone https://github.com/Mahikagarg09/Dashboard-user

Navigate to the project directory

cd Dashboard-user

Install frontend dependencies

cd client && npm install

Install backend dependencies

cd server && npm install

Configure environment variables for MongoDB, other settings in backend's .env file and localhost for running backend server URL (usually http://localhost:5500).

Start the frontend development server

npm run dev

Start the backend development server

nodemon index.js

Deployment Instructions

Vercel Deployment

  • Create an account on vercel
  • Import your GitHub repository
  • Choose your branch (usually main) and directory (client)
  • Deploy

Render Deployment

  • Create an account on render
  • Choose new Web Service
  • Import your GiHub repository
  • Choose your branch (usually main) and directory (api)
  • Add environment variables
  • Deploy

Contributors

Mahika Garg

dashboard-user's People

Contributors

mahikagarg09 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.