This project is a full-stack web application developed as part of a Frontend Developer Intern assignment.
The primary focus of this project is frontend development using React. A lightweight backend built with Node.js and Express is included to support authentication and API integration. The project demonstrates clean UI, proper routing, protected pages, and frontend–backend communication.
- React.js (Vite)
- React Router DOM
- Axios
- CSS (inline styling)
- Node.js
- Express.js
- CORS
- User Registration
- User Login
- Protected Dashboard Route
- Logout functionality
- Add tasks
- View task list
- Delete tasks
- Frontend-based CRUD operations using React state
- Frontend and backend connected using REST APIs
- Axios used for API communication
- CORS handled on backend
project-folder │ ├── frontend │ ├── src │ │ ├── pages │ │ │ ├── Login.jsx │ │ │ ├── Register.jsx │ │ │ └── Dashboard.jsx │ │ ├── ProtectedRoute.jsx │ │ ├── App.jsx │ │ └── main.jsx │ ├── backend │ ├── server.js │ └── README.md
yaml Copy code
cd backend npm install node server.js
nginx Copy code
Backend will run on: http://localhost:5000
yaml Copy code
cd frontend npm install npm run dev
nginx Copy code
Frontend will run on: http://localhost:5173
yaml Copy code
- Protected routes implemented on frontend
- Basic form validation
- Separation of frontend and backend concerns
- Clean and readable code structure
For production-level implementation, the application can be enhanced by:
- Adding JWT-based authentication
- Connecting a database such as MongoDB or PostgreSQL
- Implementing role-based access control
- Deploying frontend and backend as separate services
Frontend Developer Intern