Giter VIP home page Giter VIP logo

billed-app-fr-back's Introduction

Billapp backend

================ FR ====================

Comment lancer l'API en local:

Cloner le projet:

git clone https://github.com/OpenClassrooms-Student-Center/Billed-app-FR-Back.git

Utilisez une version de node compatible

Si vous utilisez une version récente de node sur votre ordinateur, il se peut qu'il y ai des erreurs lors de l'installation de certaines dépendances. Pour cela il est important de vous assurer que vous ayez une version de node compatible par exemple node v16 ou v18.

Voici quelques indications pour gérer les version de node sur votre ordinateur:

Sur Windows

  • Installer NVM pour windows (https://github.com/coreybutler/nvm-windows/tags)
  • changer la version de node pour une version compatible (par exemple 18.16.1) pous cela suivre les instruction de NVM pour windows :
    • nvm install 18.16.1
    • nvm use 18.16.1
  • Ouvrir Powershell en mode administrateur
  • Entrer la commande « Set-ExecutionPolicy RemoteSigned » pour pouvoir gérer l’execution de scripts dans powershell
  • Fermer toutes les instances de terminal
  • entrer la commande npm install -g win-node-env pour installer la gestion des variables d’environnement node pour window

Sur Mac

  • Installer NVM (Node Version Manager) - https://github.com/nvm-sh/nvm
  • changer la version de node pour une version compatible (par exemple 18.16.1) pous cela suivre les instruction de NVM:
    • nvm install 18.16.1
    • nvm use 18.16.1

Acceder au repertoire du projet :

cd Billed-app-FR-Back

Installer les dépendances du projet :

npm install

Lancer l'API :

npm run run:dev

Accéder à l'API :

L'api est accessible sur le port 5678 en local, c'est à dire http://localhost:5678

Utilisateurs par défaut:

administrateur :

utilisateur : [email protected] 
mot de passe : admin

employé :

utilisateur : [email protected]
mot de passe : employee

================ EN ====================

How to run the API locally :

Clone the projet:

git clone https://github.com/OpenClassrooms-Student-Center/Billed-app-FR-Back.git

Go to the project directory :

cd Billed-app-FR-Back

Install project dependancies :

npm install

Run the API :

npm run:dev

Access to the PAI :

The API is locally available on port 5678, go to http://localhost:5678

administrateur :

utilisateur : [email protected] 
mot de passe : admin

employé :

utilisateur : [email protected]
mot de passe : employee

billed-app-fr-back's People

Contributors

techerjeansebastienpro avatar diane-lb avatar aurelien-oc-mentorship 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.