Git Product home page Git Product logo

nlw-expert-python-2024's Introduction

Código resultante da NLW expert

Código resultante da NLW expert do inicio de 2024, com algumas alterações para higienizar o nome do arquivo criado e suportar a criação de códigos QR!

2024-02-09_00_54_50

Como executar o projeto

  1. Clone o repositório git clone https://github.com/renanbrayner/nlw-expert-python-2024.git
  2. Entre na pasta do projeto cd nlw-expert-python-2024
  3. Instale as dependencias com pip install -r requirements.txt
  4. Execute o programa com python run.py
  5. Pronto! O projeto deve esta funcionando no localhost porta 3000

Endpoints

###POST /create_qrcode Cria um código QR

{
	"code": "https://renanbrayner.com"
}

###POST /create_barcode Cria um código de barras

{
	"code": "https://renanbrayner.com"
}

Curls de exemplo

Código QR

curl --request POST \
  --url http://localhost:3000/create_qrcode \
  --header 'Content-Type: application/json' \
  --data '{
	"code": "https://renanbrayner.com"
}'

Código de barras

curl --request POST \
  --url http://localhost:3000/create_bar \
  --header 'Content-Type: application/json' \
  --data '{
	"code": "https://renanbrayner.com"
}'

nlw-expert-python-2024's People

Contributors

renanbrayner avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.