Giter Site home page Giter Site logo

vm_azur_next's Introduction

VM Azure Next

Lien GitHub : github.com/LouisLagrange1/VM_Azur_Next

Description du projet

Le projet consiste à créer une application web qui offre aux développeurs la possibilité de créer et d'accéder facilement à des environnements de test temporaires pour évaluer leurs logiciels. Au lieu de se préoccuper des détails techniques de la configuration, les développeurs peuvent simplement choisir leur environnement requis, comme Windows 11, via une interface conviviale, se connecter à distance via RDP, tester leur application, puis se déconnecter une fois les tests terminés.

Installation du projet

Remplir le fichier .env

Vous devez avoir un fichier .env à la racine de votre projet et remplacer ce qu'il y a après le "=" par votre clé.

JWT_SECRET=votre_clé

Vous pouvez genérer une clé via le terminal avec Node en utilisant la commande suivante :

node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"

Lancement du projet

Pour lancer le projet veillez à bien avoir Node installer sur votre machine, ensuite, lancez les deux commandes suivantes :

npm i
npm run dev

Vous pouvez maintenant accéder au projet via l'url suivante :

http://localhost:3000

Authentification

Pour accéder au lancement des VM il faut passer par une phase d' authentification. Vous retrouverez ci-dessous les trois utilisateurs déjà configurés avec chacun un rôle différent.

Utilisateur n°1 (Role Admin) : Accès à toutes les VM

Name : User1
Password : Password1

Utilisateur n°2 (Role Apprenti) : Accès à une VM

Name : User2
Password : Password2

Utilisateur n°3 (Role Observateur) : Accès aucune VM

Name : User3
Password : Password3

Informations sur le code

  • Le projet est developpé en JavaScript avec le framework Next

  • Le style a été fait avec la bibliothèque TailwindCSS

  • Le token d'authentification a été fait avec JsonWebToken

  • Les icones présentes dans le projet ont été prisent dans la bibliothèque React Icons

vm_azur_next's People

Contributors

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