Git Product home page Git Product logo

tp7-jpa_jaxrs's Introduction

tp7sir

Le projet est généré avec la version 0.16.0 de yo angular generator.

Build & development Lancer la commande : npm install grunt-connect-proxy --save-dev pour paramétrer le proxy. Lancer aussi : npm install grunt-karma karma karma-phantomjs-launcher karma-jasmine jasmine-core phantomjs-prebuilt --save-dev pour récupérer tous les modules de Karma.

Run grunt for building and grunt serve for preview.

Testing Running grunt test will run the unit tests with karma.

Ce TP est basé principalement sur le TP4sir et surtout sur la partie REST qui permet de créer une simple interface en utilisant Angular JS.

L'interface est générée par Yeoman via la commande yo. On s’intéresse ici au dossier app qui contient les fichiers essentiels: app/scripts/controllers: dans cette section il y a le contrôleur MainCtrl dans le fichier main.js qui a pour rôle de lister les différentes personnes qu’on a créé dans le tp4 avec JAX-RS et qu’on récupère en utilisant $http ayant comme URL le même URL Rest du TP4, sachant que dans le tp4 c’était sur le port 8080 d’où l’utilisation d’un proxy.

tp7-jpa_jaxrs's People

Contributors

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