This is a Django project named "cv-shortlister". It includes [brief description of what the project does or its purpose].
Before you begin, ensure you have met the following requirements:
- Python 3.x installed on your local machine
- pip package manager installed
- Git installed (optional, if you want to clone the project repository)
To set up this project locally, follow these steps:
-
Clone the repository to your local machine (if you haven't already):
git clone https://github.com/its-me-navee/Shortlist_Resume_BackEnd.git
-
Navigate to the project directory:
cd Shortlist_Resume_BackEnd
-
Create a virtual environment to isolate project dependencies:
python -m venv venv
-
Activate the virtual environment:
-
Windows:
venv\Scripts\activate
-
Linux/macOS:
source venv/bin/activate
-
-
Install project dependencies:
pip install -r requirements.txt
-
Set up environment variables:
-
Create a
.env
file inside the project api directory. -
Add the required environment variables to the
.env
file. For example: -
I used two API_KEY to avoid the limit reached error. You can add more or remove API_KEY accordingly.
API_KEY0="GEMINI_API_KEY" API_KEY1="GEMINI_API_KEY"
-
To start the development server, run the following command:
python manage.py runserver
Please utilize Postman or any other application designed for making HTTP requests. Subsequently, initiate a POST request using the following URL: http://localhost:8000/submit/. Ensure to include the PDF files within the request body, specifying the key name as "resume".
Github Repo: https://github.com/its-me-navee/Shortlist_Resume_BackEnd/
Deployed Link: