WorkHive is a dynamic Job Searching Website built to bridge the gap between Students seeking opportunities and Recruiters looking for talent. Developed with a robust backend using TypeScript, NestJS, and Prisma, WorkHive provides a seamless experience for both job seekers and recruiters.
Typescript
JS superset, enables strict type checkingNest JS
Backend Framework Based on ExpressJSPrisma
TS ORMPostgresSQL
SQL DatabaseZod
TS Schema Validation Library for PipesCloudinary
Cloud StorageDocker
Containerized the Application
-
First clone this project locally.
git clone https://github.com/Sahil2k07/WorkHive-NestJS.git
-
Move to the project directory.
cd WorkHive-NestJS
-
Install all the dependencies.
npm i
-
Set up all the required env variable by making a
.env
file. A.env.example
file has been given for reference.PORT=3000 DATABASE_URL="postgresql://<YOUR_USERNAME>:<YOUR_PASSWORD>@localhost:5432/<DB_NAME>?schema=public" JWT_SECRET= # Cloudinary Details. CLOUD_NAME= API_KEY= API_SECRET= FOLDER_NAME= BCRYPT_ROUNDS=
-
Run the command to
CREATE TABLES
in your Database.npx prisma migrate deploy
-
Run the command to generate
Prisma Client
.npx prisma generate
-
Run the command to Start the project in Watch Mode.
npm run start:dev
-
Run the command to Build End Version of the Project.
npm run build
-
Run the command to Start the Build Version of the Project.
npm start
-
First clone this project locally.
git clone https://github.com/Sahil2k07/WorkHive-NestJS.git
-
Move to the project directory.
cd WorkHive-NestJS
-
Set the Cloudinary Details in the
.env
file# Cloudinary Details. CLOUD_NAME= API_KEY= API_SECRET= FOLDER_NAME=
-
Run the command to start your Containerized Application
docker-compose up
or
docker-compose up -d
-
If you have Docker Compose Plugin, Use this command instead
docker compose up
or
docker compose up -d