Giter Site home page Giter Site logo

nlw-expert-python's Introduction

REST API example application

Create tags for application.

GitHub top language Made by GitHub last commit Repository issues

About the projectTechnologiesGetting startedHow to contribute

✅ About the project

This is an api designed in Python (using Flask) for creating tags. The api was built during NLW Expert, an event hosted by Rocketseat for those who want to learn new things and enter the technology market. In addition to building the API, architectural patterns, error handling, etc. were shown to make the application scalable and robust.

💻 Technologies

Technologies that I used to develop this api

🚀 Getting started

Clone the project and access the folder

$ git clone https://github.com/matheralvs/nlw-expert-python.git && cd nlw-expert-python

Follow the steps below

# Enter the virtual environment (.env)
$ .venv/Scripts/activate 

# To finish, run
$ py run.py

# Well done, project is started!

Create a Tag

Request

POST /create_tag/

curl -i -H 'Accept: application/json' -d 'product_code=123' http://localhost:3000/create_tag

Response

HTTP/1.1 201 Created
Date: Thu, 24 Feb 2011 12:36:30 GMT
Status: 201 Created
Connection: close
Content-Type: application/json
Location: /create_tag
Content-Length: 36

{
  data: {
    "type": "Tag Image",
    "count": 1,
    "path": "{path from image}.png"
  }
}

nlw-expert-python's People

Contributors

matheralvs 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.