Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Divye Rana - Portfolio

A modern, full-stack MERN portfolio built with React, Vite, TailwindCSS (v4), Framer Motion, and Node/Express.

Structure

  • /frontend - React application (Vite template).
  • /backend - Express API handling MongoDB connections and JWT Admin Auth.

Prerequisites

  • Node.js (v18+)
  • MongoDB Atlas (or local MongoDB running on mongodb://localhost:27017/portfolioDB)

Backend Setup

  1. CD into the backend cd backend
  2. Install dependencies: npm install
  3. Rename .env.example to .env and fill out your variables.
  4. Run the seed script to create the initial admin user: node seed.js (Creates username admin, password password123).
  5. Run the server npm run dev

Frontend Setup

  1. CD into the frontend cd frontend
  2. Install dependencies: npm install
  3. Run the development server npm run dev
  4. The site should now be running on http://localhost:5173.

Features

  • Public View: Sleek Home, About, Skills, Experience, and Contact sections.
  • Admin Dashboard: Located at http://localhost:5173/admin/login. Login to view contact messages and add/delete projects.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages