{"id":20802127,"url":"https://github.com/megave/nlw-expert-python","last_synced_at":"2026-05-04T09:31:16.893Z","repository":{"id":221069968,"uuid":"753365477","full_name":"megaVE/nlw-expert-python","owner":"megaVE","description":"Projeto Backend da NLW Expert, da Trilha \"Python (Intermediário)\" | Backend Project from NLW Expert, from the Trail \"Python (Intermediate)\"","archived":false,"fork":false,"pushed_at":"2025-06-17T19:38:07.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T18:46:18.538Z","etag":null,"topics":["flask","pylint","pytest","python","python-barcode","react","virtualenv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/megaVE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-06T01:05:08.000Z","updated_at":"2025-06-17T20:04:37.000Z","dependencies_parsed_at":"2025-06-17T20:37:06.397Z","dependency_job_id":null,"html_url":"https://github.com/megaVE/nlw-expert-python","commit_stats":null,"previous_names":["megave/nlw-python","megave/nlw-expert-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/megaVE/nlw-expert-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fnlw-expert-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fnlw-expert-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fnlw-expert-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fnlw-expert-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/megaVE","download_url":"https://codeload.github.com/megaVE/nlw-expert-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megaVE%2Fnlw-expert-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273534472,"owners_count":25122676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","pylint","pytest","python","python-barcode","react","virtualenv"],"created_at":"2024-11-17T18:28:22.346Z","updated_at":"2026-05-04T09:31:16.848Z","avatar_url":"https://github.com/megaVE.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NLW Expert Python\nEN: Development of a back-end application in Python, using Flask as the framework, environment setup and project best practices with Virtualenv, Pylint, and code versioning using pre-commit, barcode generation with python-barcode, and testing with Pytest.\n\nPT: Desenvolvimento de uma aplicação back-end em Python, utilizando Flask como framework, preparação de ambiente e boas práticas de projeto com Virtualenv, Pylint e versionamento de código usando pre-commit, criação de código de barras com python-barcode e testes com Pytest.\n\n## Description (Descrição)\n\nThe project consists in a Flask server capable of generating barcodes through a string input using the following JSON request in a POST request:\n\n(O projeto consiste em um servidor Flask capaz de gerar códigos de barra por meio de uma entrada de texto usando a seguinte requisição JSON com uma requisição POST:)\n\n{\n  \"product_code\": [code]\n}\n\nThere is also a Frontend page availabe made with React, which can be executed to make the experience better.\n\n(Também possui uma página Frontend feita em React, que pode ser executada para deixar a experiência melhor.)\n\n## Installing (Instalação)\n\n### Python (Flask Backend)\n\nRequirements:\n\n(Requisitos:)\n\n- Python3\n- PIP3\n- Virtualenv\n\nEnter the command:\n\n(Digite o comando:)\n\n### py -m venv .venv (Windows)\n### python3 -m venv .venv (Linux)\n\nto configure the virtual environment and then\n\n(para configurar o ambiente virtual e então)\n\n### .venv/Scripts/activate (Windows)\n### . .venv/bin/activate (Linux)\n\nto initialize it. Afterwards, use\n\n(para inicializá-lo. Depois utilize)\n  \n### pip install -r requirements.txt\n\nto install the Backend dependencies, and then\n\n(para instalar as dependências do Backend, e então)\n\n## python run.py\n\nto run the Backend server on the port 3000.\n\n(para rodar o servidor Backend, na porta 3000.)\n\n### React (Frontend)\n\nRequirements:\n\n(Requisitos:)\n\n- Node JS\n- NPM\n\nInside the folder \"/frontend\", enter the command:\n\n(Dentro da pasta \"/frontend\", digite o comando:)\n\n#### npm install\n\nto install the required dependencies via NPM. Then enter\n\n(para instalar as dependências necessárias pelo NPM. Então digite)\n\n### npm run dev\n\nto run the Frontend interface.\n\n(para rodar a interface Frontend.)\n\n![1707404141070](https://github.com/user-attachments/assets/1d277959-f101-4ead-a638-e7e213d92360)\n\n![1707404141052](https://github.com/user-attachments/assets/ba889f98-fea1-4a22-9410-ea7b26bc4e95)\n\n![1707404141171](https://github.com/user-attachments/assets/f4b439cf-9049-46d8-9d04-28f009b4ed6b)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegave%2Fnlw-expert-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegave%2Fnlw-expert-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegave%2Fnlw-expert-python/lists"}