This is a Job Board Application built with WorkOS, Next.js 14, ESLint, and Prettier. The goal of this project is to create a platform for job postings and applications, with seamless authentication using WorkOS.
- npm, yarn or pnpm (pnpm is recommended)
- WorkOS account
- MongoDB account
git clone https://github.com/ferhatkefsiz/job-board.git
cd job-board
pnpm install
Create a .env.local
file in the root of the project and add the following environment variables:
WORKOS_API_KEY=
WORKOS_CLIENT_ID=
WORKOS_COOKIE_PASSWORD=
NEXT_PUBLIC_WORKOS_REDIRECT_URI="http://localhost:3000/callback"
After logging in, go to the Dashboard, Click on Create New Project Give your project a name (e.g., "Job Board App"), Click Create.
Once the project is created, you'll be directed to the project settings. Under the API Keys section, you'll find your Client ID and Secret Key. Copy these keys, as they will be required in your application’s environment file (.env.local
).
Go to the Roles section in the WorkOS Dashboard, click on Create Role, and give your role a name (e.g. "Employer", "Job Seeker"). You can also add permissions to the role.
pnpm dev
Open http://localhost:3000
in your browser to see the application.