Skip to content

Community site about snowboard tricks, done for Openclassrooms

License

Notifications You must be signed in to change notification settings

nayodahl/snowtricks

Repository files navigation

SnowTricks Project 6 - First community site done with Symfony 5.1 Codacy Badge

Community snowboard site project done for OPENCLASSROOMS, made with Symfony 5.1

What is this Project ?

This site is made of PHP, using Symfony 5.1. All external libraries and bundles are forbidden, except those maintained by Symfony core team (https://flex.symfony.com/). This means no liip/LiipImagineBundle, no StofDoctrineExtensionsBundle etc...

Here are the rules that needed to be followed :

  • The site has pages for visitors, and visitors can signin in to become members.
  • Commenting a trick is only for members logged in.
  • Tricks can be created, edited and deleted by any member (it's a community site).
  • Tricks can have images, youtube videos, and an image can be selected has a featured image.
  • All wireframes are given and the design must stick to them.
  • Initial dataset is added with 10 Tricks and one activated user.

This site is online here : https://snowtricks.nayo.cloud and can be tested

Want to clone and test this app ?

  • Clone Repository on your web server
  • Install backend dependancies using Composer with dev depandancies (composer install, https://getcomposer.org/doc/01-basic-usage.md). You may need to remove composer.lock file
  • Create a database on your SQL server
  • Configure access to this database on .env file at source of the project (user, password, name of db, address etc..)
  • Run doctrines migrations (php bin/console doctrine:migration:migrate). You can check your migration status with php bin/console doctrine:migration:status
  • Load initial dataset using Datafixtures (php bin/console doctrine:fixtures:load)
  • Configure your mail setup on your web server editing .env file, as this site sends mails for registration. I used a https://mailtrap.io/ inbox during the development -
  • Install frontend dependancies using Yarn (yarn install).
  • Generates front assets using yarn (yarn encore dev).

Let's go

  • Username from datafixtures : jimmy
  • Password is @dmIn123

Author

Anthony Fachaux - Openclassrooms Student - Dev PHP/Symfony

About

Community site about snowboard tricks, done for Openclassrooms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published