Olyno / CRM_3000

Technical test for interview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

Create database:

This project is using sqlite as database. Simply create a var/data.db file to make it works.

Start migrations:

php bin/console doctrine:migrations:migrate

Load fixtures:

php bin/console doctrine:fixtures:load

This command creates default datas in the database. This includes a default admin user:

And a default user:

Usage

Routes:

/auth/signin     --> Authenticate a user (or admin) using default values: admin@test.test:test123 or user@test.test:test123
/logout          --> Logout the current user
/                --> The home page. You can create a new or edit an existing entity depend of your role
/user/new        --> Create new user (only ROLE_ADMIN)
/user/edit       --> Edit existing user (only ROLE_ADMIN)
/compagny/new    --> Create new compagny (only ROLE_ADMIN)
/compagny/edit   --> Edit existing compagny (only ROLE_ADMIN)
/customer/new    --> Create new customer
/customer/edit   --> Edit existing customer

About

Technical test for interview


Languages

Language:PHP 77.4%Language:Twig 19.0%Language:Shell 3.5%