Skip to content

Latest commit

 

History

91 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title: Hunter

Introduction:

This is a Job Portal Web Application which is MERN Stack based application. This application has all the functions of managing the user of the application including posting a job, applying for that job and accepting or rejecting the application. Now we will see the function of the complete application part by part.


Used Technologies:

  • ExpressJS
  • Cors
  • Mongoose
  • Dotenv
  • nanoid
  • Http-errors
  • bcrypt
  • cookie-parser
  • dayjs
  • express-validator
  • jsonwebtoken

Key Function:

  • Protecting Routes
  • User related (CRUD) operation
  • User Authentication and Authorization
  • Job related (CRUD) operation
  • Application related operation
    • apply to a job
    • accept/reject application
  • and so on

Challenges:

Here is a brief description of the problems I faced while doing this project and how I solved them.

1. Cookie Setting issuse:

  • Description: After the user has successfully logged in A cookie was set, but the cookie was not removed after logging out, which was a major problem.

  • Solution: By tried again and again and by reading articles from different places, found a hint in one place. Based on that article I understood that for the get route, I left in log out (at the backend), the cache is being created and a new cookie is not coming. Later I converted get route to post route as per that article and thus I solved this problem. Now new cookie is set in both login and log out and application is working properly.

2. Generating Monthly Information:

  • Description: One of the biggest challenges for this project was generating monthly application info.

  • Solution: To solve this problem, with the help of Chat GPT, I have created the api of monthly information using mongodb's aggregation concept.

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages