Giter Club home page Giter Club logo

api-rest's Introduction

API-REST

Assurez vous de posséder nodejs en tapant dans un terminal "node -v".

Si le terminal vous retourne une version, vous pouvez exécuter le programme en lancant la commande "node server.js" à la racine du projet.

Par défaut, le port utilisé est le port 3000.

Vous pouvez modifier le port en lançant la commande " PORT=3001 node server.js " dans un terminal. De la même façon que le port est ajouté dans des variables d'environnement, ajoutez le CLIENT_ID (Google Identity Client ID), ainsi que vos informations sensibles.

Vous pouvez vérifier le fonctionnement de l'API depuis:

  • la barre d'URL du navigateur (pour les requêtes GET)
  • soapUI ou Postman
  • un client Java (cf.repo https://github.com/osoccol/ClientWS)
  • un client front-end dans le framework de votre choix (React, Angular, Vue...)

api-rest's People

Contributors

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