Giter VIP home page Giter VIP logo

microblogging's Introduction

Plateforme de micro-blogging pour carcajous

made-with made-with made-with made-with

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

Installation

[Windows] Pré-requis : installer WSL 2

🟡 il est conseillé d’installer WSL 2. Voir la doc officielle de WSL 2.

[Windows / Mac / Linux] Pré-requis : installer Docker

🟡 Installer Docker via le site officiel de Docker. (Pour les Windows, choisir l'option d'installation de Docker avec WSL 2).

[Windows / Mac / Linux] Pré-requis : configurer l'environnement de développement du projet

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.

Démarrer l'application Laravel

🟡 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

Gestion de la base de données (PostgreSQL)

🟡 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

À propos de Laravel

Laravel Logo

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:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Se familiariser avec Laravel

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.

Axes d’amélioration

  • 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

microblogging's People

Contributors

fabiennelis avatar promiseherb avatar jean-clement-ada avatar github-classroom[bot] 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.