Coder Social home page Coder Social logo

barbaracalderon / the-12-barcodes-api Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.97 MB

The "12 barcodes API" provides a simple and efficient way to generate barcodes for your applications.

Home Page: https://the-12-barcodes-api.onrender.com

License: Other

Python 26.97% CSS 19.77% JavaScript 12.69% SCSS 30.81% HTML 9.76%
api flask flask-api html5up rest-api restful-api barcode barcodes code128 code39

the-12-barcodes-api's Introduction

The 12 Barcodes API

The 12 Barcodes API is a user-friendly RESTful API designed to provide a simple and practical solution for generating barcodes in applications. Developed in the Flask ecosystem and adopting the MVC architecture, this API offers ease of integration and flexibility. It forgoes the traditional database setup, streamlining the development process and reducing complexity. Checkout The 12 Barcodes API Swagger documentation.

This API may be of particular interest to developers, event organizers, manufacturers and suppliers, library technicians and archivists, students and educators.

The 12 Barcodes API landing page

Author

I'm Barbara Calderon, a software developer from Brazil.

Run locally

1. Clone the repo

git clone [email protected]:barbaracalderon/the-12-barcodes-api.git

2. Enter the project directory

cd project-name

3. Install dependencies

Make sure you have Python installed.

pip install -r requirements.txt

4. Run

gunicorn --bind "0.0.0.0:80" wsgi:app

API Documentation

HTTP

Method Returns Object Format
GET Retrieves barcode information JSON
POST Retrieves barcode image PNG

POST endpoints

Endpoint Parameter Type Description
/ean-8 product_data String Required
/ean-14 product_data String Required
/gs1-128 product_data String Required
/isbn-10 product_data String Required
/isbn-13 product_data String Required
/issn product_data String Required
/jan product_data String Required
/code-128 product_data String Required
/code-39 product_data String Required
/pzn7 product_data String Required
/upc-a product_data String Required

Stack used

Frontend

  • HTML5UP
  • SCSS
  • Javascript

Backend

  • Flask
  • Flask-Smorest
  • Marshmallow
  • BytesIO
  • GUnicorn

Improvements

Implementing tests for this project will significantly enhance its reliability and stability. With the test directory already set up using Poetry and pytest, we think there is a foundation for creating comprehensive test suites. Hopefully they will be coming soon to further strengthen the project's robustness and maintainability.

Contributions

Encouraging contributions from the community is vital for the success and growth of any project. We could greatly improve by adopting tests.

Reporting Issues: If you encounter any bugs, glitches, or unexpected behavior, please don't hesitate to report them. You can do so by opening an issue on our GitHub repository. Be sure to include detailed information about the problem you're experiencing, including steps to reproduce it and any relevant error messages.

Submitting Pull Requests: We welcome contributions in the form of code fixes or improvements to existing functionality. If you'd like to contribute code, please submit a pull request on GitHub. Please include documentation for any changes you propose.

License

GNU General Public Licence v3.0

the-12-barcodes-api's People

Contributors

barbaracalderon avatar

Stargazers

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