GithubHelp home page GithubHelp logo

springprojet's Introduction

************************************
	Création de la base de données
************************************

1- Créer un nouveau schéma nommé : dbTestCours  (s'il existe déjà il faut le re-créer) 
2- Vérifier que votre serveur ne contient aucune autre application
3- Démarrer l'application et vérifier que les tables sont bien crées
4- Arreter l'application 
5- Insréer les données suivantes:

		INSERT INTO `person` (`idPersonne`, `address`, `age`, `email`, `firstName`, `gender`, `lastName`, `nationalIdNumber`, `state`) VALUES
		(1, NULL, 36, '[email protected]', 'BOUDAA', 'male', 'Tarik', 'AA12345678', 'Morocco');
		INSERT INTO `role` (`id`, `roleName`) VALUES
		(1, 'ROLE_ADMIN'),
		(2, 'ROLE_USER');
		INSERT INTO `useraccount` (`id`, `accountNonExpired`, `accountNonLocked`, `credentialsNonExpired`, `enabled`, `lastAccessDate`, `password`, `username`, `idPerson`, `role_id`) VALUES
		(1, b'1', b'1', b'1', b'1', NULL, '{bcrypt}$2a$10$vsjRwUSUi2B/jlw4ATXEN.B2IIcVY8ourImFZnWcW1tLz3G6mLfpe', 'admin', 1, 1);


6- Demarrer l'application puis se connecter avec 
Login : admin
pass : admin 

springprojet's People

Contributors

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