AI-Recruitment-backend is the backend system for an AI-powered recruitment platform. It allows companies to manage job listings, resumes, and streamline the hiring process with AI-driven candidate analysis and job matching.
This backend is built with Go and the Gin web framework, with MySQL as the database, and uses JWT for authentication. It integrates with external AI services to analyze resumes and recommend job candidates efficiently.
- User Authentication: JWT-based login and registration.
- Job Management: Create, update, delete, and search for job postings.
- Resume Management: Upload, analyze, and manage resumes.
- AI Integration: AI-powered resume screening and job matching.
- Admin Features: Manage users, job posts, and resumes.
- RESTful API: For smooth front-end and back-end interaction.
├── AI-service # AI-related logic and functions
├── Dockerfile # Docker setup
├── LICENSE # License file
├── README.md # Project overview and instructions
├── bin # Compiled binaries
├── cmd # App entry points
├── configs # Config files
├── data # Data storage
├── docker-compose.yml # Docker Compose config for multi-service setup
├── docs # Documentation (API docs, design notes)
├── internal # Internal code, project-only
├── pkg # Reusable packages
└── scripts # Scripts
- Language: Go
- Web Framework: Gin
- Database: MySQL
- Authentication: JWT
- AI Services: Integrated with external Python-based AI services
- Go 1.16+
- MySQL 5.7+
- Python 3.8+ (for AI services)
- Docker (optional, for deployment)
git clone https://github.com/your-repo/AI-Recruitment-backend.git
cd AI-Recruitment-backend
Ensure you have Go installed, then run:
go mod tidy
Ensure MySQL is running and create the database:
CREATE DATABASE ai_recruitment;
Run any required migrations to set up the database schema.
Launch the backend locally:
go run main.go
The server will run at http://localhost:8001
.
If you are using a separate AI service, navigate to the AI service directory and start it:
python AI-service/main.py
The AI service will run on http://localhost:5000
.
To deploy the backend using Docker:
-
Build the Docker image:
docker build -t ai-recruitment-backend .
-
Run the Docker container:
docker run -p 8001:8000 ai-recruitment-backend
docker compose up -d --build
We welcome contributions! If you'd like to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-xyz
). - Make your changes and commit them (
git commit -m 'Add new feature'
). - Push your changes to your fork (
git push origin feature-xyz
). - Open a pull request to the main repository.
This project is licensed under the MIT License. For more details, see the LICENSE file.