GithubHelp home page GithubHelp logo

wanesurf / log210-systeme-gestion-bordereau-node-express-ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrenguyen15/log210-systeme-gestion-bordereau-node-express-ts

0.0 0.0 0.0 790 KB

JavaScript 1.79% TypeScript 98.21%

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

Système de gestion des bordereau utilisé dans le cadre du cours de LOG210 et développé avec Node, Express et TypeScript

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 le code - npm run build
  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

Exécution des test

npm run test -- -g "nom ou partie du nom d'un test" npm run test

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

Pour exécuter un test unitaire

npm run test -- -g 'responds with successful call for students with valid teacher token'

définition de l'API

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

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.