The aim of the project is to help students in the building, creation and storage of their CV. There is a front-end web app, displaying the CVs stored in the database, that allows the user to add a new CV, delete, or edit the JSON file to update their already existing resumes.
The back-end will be a Python API, which will be used to generate the PDF file. We will develop it using the Django framework. To convert the HTML page into a PDF file, we will use selenium, to make a "print" from Chrome. We used the functions from the python-selenium-chrome-html-to-pdf-converter repo.
- Clone repository
git clone https://github.com/Adridot/cv_builder.git
cd cv_builder
- Install and activate a virtual environment
WARNING: you will need to use a python version >= 3.8
python -m venv venv
source venv/bin/activate
- Install the requirements
pip install -r requirements.txt
- Collect static files
python manage.py collectstatic
- Run the server
python manage.py runserver
- Go the the frontend directory
cd frontend
- Install the dependencies
npm install --force
- Run the server
npm start
Open the front-end website (http://localhost:3000/), and start creating a CV !