Giter Club home page Giter Club logo

reservation_hotel's Introduction

Réservation hotel

Les besoins sont : - faire une appli qui permet la réservation d'hôtels a la Réunion

Partie HTML :

- hôtels
- clients
- secteurs (est, ouest etc ..)

Les fonctionnalités:

- Les hôtels

    - créer des hôtels
    - liste d'hôtels
    - éditer les hôtels

- Les clients 
    - créer des clients
    - éditer des clients
    - afficher un client

- Les secteurs
    - créer un secteur 
    - éditer un secteur
    - afficher un secteur 

Base de données :

Equipe : Michaël , Adama
- HOTEL
- id 
- nom
- nbr_etoiles

- CLIENT
- id
- nom
- prenom
- carte de crédit

- SECTEUR
- id
- nom

Team :

Alex : formulaire HTML  creation d'hotel   

Idriss: Tableau Bootstrap 

Alison : formulaire ajout de secteur Ok

J-fred: structure de fichiers nodejs 

Badrane: fichier application.js avec les routes de bases. 

jennifer: creation d'une charte simple (CSS avec 3 couleurs)  => style.css 

Nova: creation du index.html => avec integration des scripts + CSS pour jquery et bootstrap. 

Anna: formulaire creation client 

Pascal : GitHub  

/!\ AVANT DE COMMENCER Il faut forker le répertoire de pascal /!\

#Templating - EJS -Le templating permet de passer les varibables serveur coté views -Pour avoir un exemple vous pouvez regarder dans le dossier views/hotel.ejs -Pour plus d'information je vous donne le lien de la doc : http://ejs.co/

Démarrage du projet

- Fork du projet initial sur votre compte github
- Clonage du projet sur votre ordi: 
    git clone https://github.com/(votre-repository)/reservation_hotel.git

/*\ATTENTION /!\ remplacez (votre -repository) par votre nom d'utilisateur sinon ça ne marchera pas ! ^_^

- Ajoutez à votre fork le remote du projet d'origine
    git remote add reservation_hotel https://github.com/pmarot/reservation_hotel.git

/*\ATTENTION /!\ Si vous recommencez depuis le début, installez le module grâce à la commande "npm install" pour pouvoir lancer le serveur.

N'oubliez pas vos git add et git commit régulier

PULL REQUEST

  • Mettez à jour votre fork en local:

    • git fetch reservation_hotel
  • Fusionnez (merge) maintenant votre copie locale avec le projet d'origine:

    • git merge reservation_hotel/master
  • Validez vos changements si vous avez ajouté des fichers

  • en cas modification d'un fichier sauter cette etape.

    • git add .
    • git commit -m "ajout de nouveaux fichiers"
  • Envoyez vos changements sur votre github

    • git push
  • Faire un pull request via le site ou en ligne de commande, mais la j'ai pas trouvé.

/!\ AVANT DE SAISIR TOUTES COMMANDES

/!\ VEUILLEZ BIEN REFLECHIR A CE QUE VOUS VOULEZ EFFECTUER COMME TACHE

/!\ DANS LE DOUTE DEMANDER A UN AMI :-)

UTILISER LA BASE DE DONNEES

1 - Ouvrir un terminal et ecrire mongo puis valider avec la touche entrée.

2 - use [reservation] sans les crochets. - les collections créées : hotels clients secteurs

2 - Connection à la base de données OK

reservation_hotel's People

Contributors

pmarot avatar novat974 avatar j-fred avatar icezenberg avatar badrane avatar anna974 avatar rosh974 avatar hoarauidriss avatar

Watchers

James Cloos 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.