This is a Job Portal API built with Node.js, Express, and MySQL. The API supports user authentication, admin authentication, job creation, and fetching resumes based on skills.
- User Registration and Login
- Admin Registration and Login
- Create Job Listings
- Submit and Update Resumes
- Fetch Resumes Based on Skills
- Role-Based Authentication
- Node.js
- Express.js
- MySQL
- JWT (JSON Web Token)
- bcrypt.js
- Node.js
- MySQL
-
Clone the repository:
git clone https://github.com/spm999/Job-Portal-API.git
-
Install dependencies:
npm install
-
Set up the MySQL database:
Create a database named
job_portal
.Run the SQL script to create the necessary tables.
-
Start the server:
npm start
Sign Up: POST /user/signup
Login: POST /user/login
Resume Submit: POST /user/submitResume
Sign Up: POST /admin/signup
Login: POST /admin/login
Job Create: POST /admin/jobCreate
List Resumes: GET /admin/list/:skill