DEV Community

Said Mounaim
Said Mounaim

Posted on

Job Portal API Using Node.js, Express.js, Prisma & TypeScript

Job Portal API

This API allows users to create an account, login, update their profile, upload their resume, and add, update, and delete job listings. Users can also apply for jobs and view all jobs they have applied for.

The API is built using Node.js, Express.js, Prisma and TypeScript.

Getting Started

  1. Clone the repository: git clone https://github.com/saidMounaim/job-portal-api.git
  2. Install dependencies: npm install
  3. Start the development server: npm run dev
  4. Make sure you have running prisma cli and prisma server

Endpoints

  • POST /users: Create a new user account
  • POST /users/login: Login to an existing user account
  • PUT /users/:id: Update a user's profile
  • PUT /users/:id/resume: Upload a user's resume
  • POST /jobs: Add a new job listing
  • PUT /jobs/:id: Update an existing job listing
  • GET /jobs/:id: Retrieve a single job listing
  • DELETE /jobs/:id: Delete a job listing
  • POST /jobs/:id/apply: Apply for a job listing
  • GET /users/:id/jobs: Retrieve all jobs a user has applied for

Note

This project is still under development and the endpoints may not be completely functional yet.

Contribution

All kind of contributions are welcome, please feel free to submit pull requests.

Github Repo: https://github.com/saidMounaim/job-portal-api
Github Profile: https://github.com/saidMounaim/

Top comments (0)