This is a mini project that integrates with the Greenhouse ATS (Applicant Tracking System). It allows users to submit job applications and view submitted applications through a simple UI. The project is built using Next.js, TypeScript, and ShadCN UI.
- Submit a job application to Greenhouse.
- Admin view to see submitted applications.
- Responsive UI built using ShadCN UI components.
- API integration with Greenhouse ATS for candidate submission and retrieval of job applications.
- Framework: Next.js
- Language: TypeScript
- UI Components: ShadCN UI, Tailwind CSS
- HTTP Client: Axios
- Node.js (v18+)
- Yarn or npm (v6+)
- Greenhouse API Key
-
Clone the repository:
git clone https://github.com/your-username/greenhouse-integration.git cd greenhouse-integration
-
Install dependencies:
yarn install # or npm install
-
Create a
.env.local
file in the root of the project and add your Greenhouse API key:GREENHOUSE_API_KEY=your_api_key_here
-
Run the development server:
yarn dev # or npm run dev
-
Open http://localhost:3000 in your browser to view the app.
GET /api/applications
: Fetches applications from Greenhouse.POST /api/submit
: Submits a candidate's application to Greenhouse.GET /api/jobs
: Fetches all available jobs from Greenhouse.GET /api/jobs/[id]
: Fetches details for a specific job from Greenhouse.GET /api/candidates
: Fetches all candidates from Greenhouse.
The app is hosted on Vercel. To deploy your own version:
- Create a Vercel account and link your GitHub repository.
- Set up your environment variables in the Vercel dashboard (
GREENHOUSE_API_KEY
). - Deploy the app.
.
├── app # Next.js app containing pages, apis, etc
├── components # Reusable components either from ShadCN UI or feature-specific
├── hooks # Custom hooks
├── lib # Custom utilities
└── README.md # Project documentation
- Navigate to the home page.
- Fill out the form with personal details and submit your application.
- The application will be submitted to the Greenhouse API.
- Visit
/admin
to see a list of submitted applications. - Pagination is available to load more applications.
This project is open-source and available under the MIT License.
If you have any questions or need further assistance, feel free to reach out!