GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vitorpvcampos/comp-emp: Project developed for technical challenge

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
companies
companies
 
 
compemp
compemp
 
 
contrib
contrib
 
 
.coveragerc
.coveragerc
 
 
.gitignore
.gitignore
 
 
.pyup.yml
.pyup.yml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Pipfile
Pipfile
 
 
Pipfile.lock
Pipfile.lock
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
manage.py
manage.py
 
 
setup.cfg
setup.cfg
 
 

Repository files navigation

comp-emp

Project developed for technical challenge

Django CI Updates Python 3.9.0 Django 3.1.3 GitHub codecov

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

How to run the project?

Cloning the repository and creating the .env file

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

Using Docker with Docker Compose and running the migrations:

docker-compose build
docker-compose up -d
docker-compose run app python manage.py migrate
docker-compose run app python manage.py createsuperuser

PEP8 lint

pipenv run flake8

Testing with pytest

pipenv run pytest --cov=compemp
Work environment

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.

Bootstrap logo

About

Project developed for technical challenge

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.