mihaidev2 / questions

MIT License
0 stars 0 forks source link

create demo data command #6

Open kisphp opened 6 years ago

kisphp commented 6 years ago

Create a symfony console command that will add demo data in your application. Use doctrine entities and services to populate the tables with fake/demo data.

you can you repository https://github.com/fzaninotto/Faker to generate more realistic data inputs

mihaidev2 commented 6 years ago

https://symfony.com/doc/3.3/console.html

mihaidev2 commented 6 years ago

Sa generez 5 intrebari, fiecare cu cate de la 3-6 variante de raspuns aleatoriu. Pentru fiecare intrebare trebuie sa am 5 raspunsuri date si ales intre 1 si maximum dintre numarul de variantele date.