Giter VIP home page Giter VIP logo

api_gestion_transactions's Introduction

API de gestion de transactions

newPush curl planete checkSyntax Docker Image CI Docker push GCR

Membres du groupe

  • Clément GHYS
  • Benjamin MILHET

ILC

Fonctionnalités:

Cette API développée en python a pour but de pouvoir gérer des transactions entre des personnes.

  • Enregistrer une transaction.
  • Afficher une liste de toutes les transactions dans l’ordre chronologique.
  • Afficher une liste des transactions dans l’ordre chronologique liées à une personne.
  • Afficher le solde du compte de la personne.
  • Importer des données depuis un fichier csv.
  • Vérification des transactions grâce à un hashage SHA-256.

Langage

Pour réaliser notre API, nous allons utiliser le langage Python avec le framework Flask permettant le dévelopement web avec Python. L'objectif de notre API est réaliser un système de transaction d'argent entre deux personnes.

Documentation

Exemples requêtes CURL

 - Charger deux fichiers CSV : curl -X POST -d "fichierPersonne=data.csv" -d "fichierTransaction=transactions.csv"  -d "delimiter=;" http://127.0.0.1:5000/chargerFichier
 - Ajouter une transaction : curl -X POST -d "P1=Lucas" -d "P2=Benjamin" -d "s=10" http://127.0.0.1:5000/addTransaction
 - Récupérer les transactions : curl -X GET  http://127.0.0.1:5000/getTransactions
 - Récupérer les informations d'une personne avec ses transactions : curl -X GET -d "nom=Benjamin"  http://127.0.0.1:5000/getPersonne
 - Récupérer le solde d'une personne : curl -X GET -d "nom=Benjamin"  http://127.0.0.1:5000/getSoldePersonne
 - Vérifier le hashage des transactions existentes : curl -X GET http://127.0.0.1:5000/verifierTransaction

ForTheBadge built-with-love

api_gestion_transactions's People

Contributors

benjamin-milhet avatar clement-gh avatar

Stargazers

 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.