Giter Club home page Giter Club logo

todoandco's Introduction

ToDoAndCo Codacy Badge

Environnement de développement

Prérequis

Installation du projet

  1. Cloner le projet à l'aide de la commande git clone via HTTPS:
    git clone https://github.com/genesis59/ToDoAndCo.git
    ou par SSH nécessite que votre clé SSH soit configurée sur GitHub
    git clone [email protected]:genesis59/ToDoAndCo.git
    puis entrez dans le projet
    cd ToDoAndCo
  2. Installer les dépendances PHP :
    composer install
  3. Installer les dépendances Javascript :
    yarn install
    yarn build
  4. Variables d'environnement
    1. Copier le fichier .env dans un fichier .env.local
    2. Renseignez avec vos données les variables d'environnement dans le fichier .env.local
      • DATABASE_URL
      • MAILER_DSN
    3. Exemple pour la variable DATABASE_URL avec une base de données PosgreSQL et MAILER_DSN dans le fichier .env exemples avec une base de données MySQL et MailHog:
    DATABASE_URL="postgresql://user_name:your_password@localhost:5432/todo_and_co?serverVersion=15&charset=utf8"
    MAILER_DSN=smtp://localhost:1025
  5. Configuration de la base de données locale :
    symfony console doctrine:database:create
    symfony console make:migration
    symfony console doctrine:migrations:migrate
    symfony console doctrine:fixtures:load

  1. . Lancement du serveur PHP depuis la racine du projet
    symfony server:start
  2. Pour finir, rendez-vous à l'adresse: https://127.0.0.1:8000

todoandco's People

Contributors

genesis59 avatar saro0h avatar

Watchers

 avatar

todoandco's Issues

Set required change

8H

When we create one Task, it must be attached to owner(creator)

  • At the time of the creation attached owner to the task
  • When we updated one task the task's author don't be updated
  • If one task doesn't have a owner attached it to anonyme owner

Create role admin

  • Create hierarchy role admin -> user
  • Add input roles into UserTypeForm

Set test environment

8 H

  • install xDebug and set code coverage
  • add test database
  • put auto reset of the database

Migration from version 5.4 to version 6.0

8 H

  • adding symfony/maker-bundle library
  • adding doctrine/doctrine-migrations-bundle
  • update symfony/console recipe
  • adding symfony/runtime
  • update symfony/framework-bundle recipe
  • update symfony/security-bundle recipe
  • update doctrint/doctrine-bundle recipe
  • update symfony/monolog-bundle recipe
  • update symfony/routing recipe
  • update symfony/web-profiler-bundle recipe
  • update symfony/phpunit-bridge recipe
  • update symfony/translation recipe
  • update symfony/validator recipe
  • update symfony/twig-bundle recipe
  • remove symfony/swiftmailer-bundle
  • adding symfony/mailer
  • add PasswordAuthenticatedUserInterface on User Entity
  • change Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface to Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface
  • addind attribute repositoryClass into User and Tast on ORM\Entity annotations to regenerate repository which haven't been existed
  • update recipe symfony/security-bundle 6.0
  • update recipe symfony/routing 6.0
  • replace authentication using make:auth command

Enhancement templates todolist SUITE

  • fixing the footer at the bottom of the page
  • enhancement template create task
  • create one section to task is done
  • create one section to task is not done
  • manage actions if authorized or not
  • enhancement task's card adding informations author creation updating

add CkEditor5

16H

  • Adding ckeditor5 in project
  • Adding field editor in template edit and create task
  • Adapt field content of Task and bound it to editor with stimulus
  • Create new validation constraint to transform html string of ckeditor in real string which dispayed

fix redirect route

2H

  • route toggle edit and delete task
  • edit and toggle not authorized to Anonyme Owner

update recipes

4H

  • update recipe symfony/console
  • update recipe symfony/framework-bundle
  • update recipe symfony/security-bundle
  • update recipe symfony/routing
  • update recipe symfony/twig-bundle
  • update doctrine/doctrine-bundle from 1.0 to 2.0
  • update recipe doctrine/doctrine-bundle

Adding Access rules

12H

  • role admin only can access to manage users
  • add uid library
  • add symfony/http-client
  • set uuid properties in entities
  • adding constraints validation user and task
  • adding voters
  • Tasks can be deleted by their owner only.
  • Tasks's Anonymous can be deleted or updated by role admin only
  • transform id to uuid to request parameter
  • fix no password in edit user

add activation email feature when there is a new register

  • create UserChecker
  • create Token class and tokenListener
  • add fields boolean activated and activation token
  • add mailerService
  • create UserEmailEvent, UserSubscriber to send Activation email when new register use uriSigner
  • create Activation route and new activation route + template new activation

added data fixtures

4H
add composer require zenstruck/foundry --dev
add composer require --dev orm-fixtures
create prePersist UserListener

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.