A full-stack job portal where job seekers can browse and apply for jobs, and admins can post jobs and manage applicants.
Live Demo: https://job-portal-smoky-kappa.vercel.app
Job Seekers
- Register and log in securely
- Browse the latest job openings
- Search and filter jobs by keyword, job type and location
- View full job details and apply
- Personal dashboard to track applications
Admin
- Admin dashboard with role-based access
- Post, edit and delete jobs
- View applicants for each job
- View all registered job seekers
- Frontend: HTML, CSS, JavaScript (hosted on Vercel)
- Backend: Node.js, Express.js (hosted on Railway)
- Database: MySQL (hosted on Railway)
- Authentication: JWT, bcrypt password hashing
job-portal/
├── frontend/ # Static pages, CSS and JS
└── backend/
├── config/ # Database connection
├── controllers/ # Route logic
├── middleware/ # Auth and admin checks
├── routes/ # API routes
└── database/ # schema.sql and seed.js
- Clone the repository
git clone <your-repo-url>
cd job-portal/backend- Install dependencies
npm install- Create a MySQL database and import
database/schema.sql - Copy
.env.exampleto.envand fill in your database and JWT details - (Optional) Run
node database/seed.jsto create an admin account - Start the server
npm start- Open
frontend/index.htmlin a browser, and setAPI_BASEinfrontend/js/api.jstohttp://localhost:5000/api
| Route | Purpose |
|---|---|
/api/auth |
Register and login |
/api/jobs |
List, view, create, update, delete jobs |
/api/applications |
Apply for jobs and view applications |
/api/admin |
Admin-only data (applicants, users) |
Muntasir Hasan Jim Portfolio: https://muntasirhasanjim.vercel.app