Project developed for technical challenge
This project was developed as a requirement of a selective process for a vacancy as a Backend Developer.
The objective was to implement a system to manage companies and its employees, using any Python web framework (in this case, I used Django) and a GraphQL API.
As differentials:
- CPF and CNPJ validation for employees and companies
- Tests
- Containerized Docker application
Supposing you have git
and python
>= 3.9.0
installed (not tested on older versions):
git clone https://github.com/vitorpvcampos/comp-emp.git
cd comp-emp
cp contrib/env-sample .env
pip install --upgrade pip
pip install pipenv
pipenv install --dev
docker-compose build
docker-compose up -d
docker-compose run app python manage.py migrate
docker-compose run app python manage.py createsuperuser
pipenv run flake8
pipenv run pytest --cov=compemp
The project was developed using an iMac Pro (via OpenCore 0.6.3
) running macOS Big Sur version 11.0.1 and the IDE PyCharm Professional 2020.2.3. The implementation was also tested on the Linux distribution POP!_OS 20.10 (running on the same hardware), with the same IDE.