Ce projet à pour but de réaliser une plateforme de micro-blogging. Il a été réalisé en 7 jours par une équipe de 3 personnes en contexte agile (daily, mob programming).
🟡 il est conseillé d’installer WSL 2. Voir la doc officielle de WSL 2.
🟡 Installer Docker via le site officiel de Docker. (Pour les Windows, choisir l'option d'installation de Docker avec WSL 2).
Ce projet a été pré-configuré pour permettre une installation rapide et automatique de toutes ses dépendances (outils de ligne de commandes PHP, Laravel et ses librairies, des extensions VSCode adaptées au développement PHP). Pour cela utiliser la fonctionnalité de "Dev Containers" de VSCode.
🟡 Ouvrir le projet dans VSCode. Les fichiers et dossiers du repo doivent constituer la racine de l'arborescence du projet sous VS Code (l'extension Dev Container ne fonctionne pas depuis un "workspace").
🟡 Copier le fichier .env.example
vers .env
cp .env.example .env
🟡 Installer l'extension VSCode "Dev Containers"
🟡 Ré-ouvrir le projet dans VSCode dans Docker avec la commande "Reopen in Container"
Le projet s'ouvre dans une nouvelle fenêtre VSCode, et démarre le téléchargement des images Docker, puis la construction et l'exécution des containers associés.
🟡 Ouvrir le terminal de VSCode.
🟡 Installer les dépendances PHP via composer
composer install
🟡 Générer votre "application encryption key" (nécessaire à toute application Laravel)
php artisan key:generate
🟡 Lancer le serveur web interne à Laravel
php artisan serve --port=8080
🟡 Accéder à l'interface d'admin "pgAdmin"
identifiant, mot de passe et port de connexion par défaut se trouve dans le fichier .env
🟡 Une fois connecté à "pgAdmin", configurer la connexion à votre base de données locale, en ajoutant un nouveau "server" (les identifiants de connexion sont les mêmes que ceux configurés dans le fichier .env
).
🟡 Initialiser la base de données, en effectuant les migrations Laravel existantes par défaut.
php artisan migrate
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
- Pouvoir poster des images
- Affichage du profil d’utilisateurice avec photo de profil
- Pouvoir éditer son profil
- Ajouter la fonction hastag
- Intégrer les tests