Skip to content

A platform to connect daily wage job seekers and job providers

Notifications You must be signed in to change notification settings

SparshJain2000/Jobhub

Repository files navigation

JobHub

React Nodejs GraphQL MongoDB MongoDB

A platform to connect job seekers and job providers

Technologies Used

  • Back-end : Node js, Express JS, Graphql, JWT, Docker(containerization)

  • Database : Mongo DB

  • Front-end : ReactJS, Bootstrap, SCSS

Installation

Install mongoDB and NodeJS

Clone the repository

git clone https://github.com/SparshJain2000/Jobhub.git

Declare environment variables

Create a file .env
DB_URI = 'Your mongo url'
secret = 'secret for jwt(tokens)'

Docker 🐳

Build the client docker image

docker build -t "client" ./client

Build the client docker image

docker build -t "server" .

Dev container

Build the container using docker compose

cat docker-compose.dev.yml > docker-compose.yml
docker-compose up --build

Production Contaienr

cat docker-compose.prd.yml > docker-compose.yml
docker-compose up --build

Running locally(without docker)

Install dependencies

npm install
npm install --dev

Start the application (both server (server.js) and client simultaneously using concurrently)

npm run dev

Server is on http://localhost:3000 and frontend is on http://localhost:8080

For Front end

Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Contributing

🍴 Fork the repository

👯 Clone the forked repo

📝 Change it / add your code ,

✔️ Do a "pull request"

Support

Give a 🌟 to this repo if it helped you a bit .

Connect with me

Instagram LinkedIn Github

About

A platform to connect daily wage job seekers and job providers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages