A modern, full-stack portfolio website built with React and Node.js, featuring a dynamic admin dashboard for content management.
portfolio-pro/
├── frontend/ # React frontend application
│ ├── src/
│ │ ├── components/ # Reusable React components
│ │ ├── pages/ # Page components
│ │ ├── layouts/ # Layout components
│ │ ├── services/ # API service functions
│ │ └── assets/ # Static assets
│ ├── public/ # Public assets
│ └── package.json # Frontend dependencies
├── backend/ # Node.js backend (Python version)
│ ├── main.py # Main application file
│ ├── models.py # Database models
│ ├── requirements.txt # Python dependencies
│ └── database.db # SQLite database
├── backend 2/ # Node.js backend (JavaScript version)
│ ├── index.js # Main server file
│ ├── models/ # Database models
│ ├── routes/ # API routes
│ ├── controllers/ # Route controllers
│ ├── middleware/ # Custom middleware
│ └── package.json # Backend dependencies
├── functions/ # Netlify Functions
│ └── api.js # Serverless API handler
└── netlify.toml # Netlify configuration
git clone https://github.com/ganeshxchoudhary/portfolio.git
cd portfolio-pro
cd frontend
npm install
cd ../backend\ 2
npm install
.env file in the backend directory:
JWT_SECRET=your_jwt_secret_here
PORT=3001
cd backend\ 2
npm start
cd frontend
npm run dev
cd frontend
npm run build
npm run preview
POST /api/auth/login - Admin loginPOST /api/auth/register - Admin registration (if enabled)GET /api/content/skills - Get all skillsPOST /api/content/skills - Add new skillPUT /api/content/skills/:id - Update skillDELETE /api/content/skills/:id - Delete skillPOST /api/contact - Submit contact formfrontend/src/index.css for global stylesbackend 2/models/ for additional fieldsbackend 2/routes/frontend/src/assets/frontend/index.htmlcd frontend && npm run buildfrontend/distJWT_SECRET=your_production_jwt_secret
functions/ directory/.netlify/functions/apicd frontend && npm run build
dist folder to your hosting providergit checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Ganesh Choudhary
⭐ Star this repository if you found it helpful!