Skip to content

Feedback - Website for give opinions after eat in self of school NDLP Avranches.

Notifications You must be signed in to change notification settings

AllanBiville/feedback

Repository files navigation

TRAVIS CI :

Build Status

BADGES

CodeFactor : CodeFactor

SYMFONY VERSION 5.4.2

COMPOSER VERSION 2.1.8

PHP VERSION 7.4.9

FeedBack

Description

Self-feedback is an online website software, a PHP web application developed using the Symfony framework (version 5.4.2). He has for objectif to send opinion to a meal with a commentary and a specifics opinions to different criteria. It also aims to be able to retrieve its opinions in various form to analyze them.

To do this, we made a site in 2 distinct parts:

  • A part for users who will only give a review in a form
  • A second part, a panel for administrators who can retrieve the reviews in the form of a table and graph that can be consulted on the site or downloaded in PDF format. We have made this part limited to access with a login form with username and password securized.

Thanks to Symfony

Installation

1) Get all source files

2) Create database

Copy .env file to .env.local

Edit line DATABASE_URL="mysql://user:password@127.0.0.1:5432/feedback"

Execute command :

  • php bin/console doctrine:database:create
  • php bin/console doctrine:migrations:migrate
  • php bin/console doctrine:fixtures:load
  • php bin/console server:start

3) With your web browser open url where server is listening on

For example, with your browser open this page : http://localhost:8000 and GO !

Here is initial credentials of the admin user.

  • Username : admin
  • Password : admin

Here is initial credentials of the super-admin user.

  • Username : superadmin
  • Password : superadmin

Here is initial credentials of the pin code to access QRcode.

  • Pin code : 12345

4) Commande for testing

  • php bin/console doctrine:database:create --env=test

  • php bin/console doctrine:migrations:migrate -n --env=test

  • php bin/console doctrine:fixtures:load --env=test

  • php bin/phpunit --testdox

About

Feedback - Website for give opinions after eat in self of school NDLP Avranches.

Topics

Resources

Stars

Watchers

Forks