Giter Club home page Giter Club logo

montreal-laravel-jobs-portal's Introduction

Fil de présentation du meetup

Les étapes dans ce document correspondent aux différentes branches du projet.

Étape 1

  • Découverte de l'architecture du framework

Étape 2

Étape 3

  • Connexion à notre base de données sqlite. Pour commencer, installation du pilote avec la commande npm install sqlite3 --save puis on lance les migrations avec la commande adonis migration:run
  • Création du fichier de migration de la table jobs avec la commande adonis make:migration jobs
  • Création du model Job avec la commande adonis make:model Job
  • Création de notre seeder et de notre factory qui va créer pour nous 10 jobs
  • On lance le seed avec la commande adonis seed

Étape 4

Étape 5

  • Création du nouveau controller JobsSubscriptionController et de deux nouvelles routes
  • Création de la nouvelle vue pour l'affichage du formulaire de connexion qui appellera la méthode store du contrôleur.
  • Modification du layout principal pour ajouter le menu de navigation avec le helper route()
  • Installation du package adonis install @adonisjs/validatorpour la validation du formulaire et enregistrement dans les providers de notre application depuis le fichier start/app.js
  • Création d'un Validator avec la commande adonis make:validator JobSubscription
  • On termine l'écriture de la méthode store dans notre controller JobsSubscriptionController avec l'écriture en base de données et la redirection vers la page d'accueil

Étape 6

montreal-laravel-jobs-portal's People

Contributors

jbfournot avatar

Stargazers

 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.