Web application using Symfony framework and MySQL database. The app keeps users, chirps (tweets) and likes. Users can register, login, logout, view feed page (all chirps from followers sorted by time in descending order), create a chirp, delete a chirp, view own chirps, discover new people, get all chirps by specific user (sorted by time in descending order), follow or unfollow a user, like or dislike a chirp. Admins have access to edit and delete chirps to all users.
- Install XAMPP.
- Install Composer.
- Open the project (with VSCode for example) and type in console:
composer update --ignore-platform-reqs
php bin/console doctrine:database:create
php bin/console doctrine:schema:update --force --dump-sql
- Add user roles in "roles" table - ROLE_ADMIN and ROLE_USER
- Finally start the project:
php bin/console server:run