Giter Club home page Giter Club logo

log210-systeme-gestion-bordereau-node-express-ts's Introduction

Système de gestion des bordereau

Application utilisée dans le cadre du cours de LOG210 et développée avec Node, Express et TypeScript

Diagramme de classe (généré par tplant)

dcl

Ce système doit être utilisé pour obtenir l'information de base à la réalisation de votre laboratoire en LOG210. Il possède les qualités suivantes:

  • il est simple pour les débutants en LOG210
    • il n'y a pas de framework pour le front-end ni pour la persistance, mais ça n'empêche pas d'ajouter ces dimensions.
    • il est seulement REST niveau 1, mais ça n'empêche pas de modifier l'API pour qu'il soit REST niveau 3.
  • il est orienté objet (avec TypeScript)
  • il contient des tests pour l'API (avec Mocha)
  • il fait une séparation entre les couches présentation et domaine, selon la méthodologie de conception du cours LOG210 (Larman)

Voulez-vous utiliser ce serveur?

  1. (Créer une fork et) Cloner
  2. Installer les dépendences node - npm install
  3. Compiler les sources - npm run compile
  4. Lancer serveur de développement - npm start
  5. Lancer les tests (pas besoin de lancer le serveur d'abord) - npm run test
  6. Lancer les tests en mode TDD - npm run watch
  7. Lancer un seul test - npm run test -- -g "nom ou partie du nom d'un test"

voir https://medium.com/@RupaniChirag/writing-unit-tests-in-typescript-d4719b8a0a40

Utiliser ce serveur avec Docker

  • Création de votre image docker
    • docker build -t sgb --file Dockerfile .
  • Exécuter votre image docker
    • docker run -p 3200:3200 sgb

définition de l'API

  1. Générer la documentation - npm run docs ou npm run compile http://127.0.0.1:3200/docs/index http://localhost:3200/docs/index

log210-systeme-gestion-bordereau-node-express-ts's People

Contributors

antoine-bl avatar fuhrmanator avatar laurentfrenette avatar leuchak avatar massicottem avatar simon-boyer avatar yvanross 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.