Coder Social home page Coder Social logo

erwancarl / snowtricks-community-forum Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 17.42 MB

A snowtrick community forum in PhP Symfony 6

PHP 61.20% Twig 23.62% JavaScript 2.47% CSS 12.71%
access-control account-management crud-application login-system php8 symfony6

snowtricks-community-forum's Introduction

P6 Openclassrooms - Snowtricks - Erwan Carlini

SymfonyInsight

Starting project

Requirements

  • PHP : ⩾ 8.1.0
  • MySQL ⩾ 8.0.30
  • Composer
  • Symfony 6.2
  • Symfony CLI
  • NPM

Packages Installation

First, clone project and place the project in a new folder, then install all composer packages with command line : composer install.

Database datas

First, you will need to change the value of DATABASE_URL in the file .env to match with your database parameters, then create your database Snowtricks.

To get all necessaries datas :

  • Run symfony console doctrine:database:create in command to create your database
  • Run symfony console doctrine:migration:migrate in command to create your tables in your DB from the entities files
  • Run php bin/console doctrine:fixtures:load to get the basic datas of this project
  • Run npm run watch to use node for dynamic features used in the project
  • Run symfony serve -d to use symfony CLI server

Mailer configuration settings

Then, we need to configure the .env file to start the project correctly and use the sending mail features.
You will have to change the value of MAILER_DSN in the .env file to match with your mailer parameters.

Admin features

If you want to get all access in the project, you can give yourselves the admin role by adding the value "ROLE_ADMIN" in the JSON, in the 'user' table column 'roles' on your account row.

Libraries use list

  • Symfony
  • Doctrine
  • Twig

snowtricks-community-forum's People

Stargazers

 avatar

Watchers

 avatar

snowtricks-community-forum's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.