edwigegc / p6-snowtricks Goto Github PK
View Code? Open in Web Editor NEWCommunity website for snowboard enthusiasts. Each visitor can create an account and manage articles on snowboard tricks, once logged in. Project developed with Symfony 5.2.
Community website for snowboard enthusiasts. Each visitor can create an account and manage articles on snowboard tricks, once logged in. Project developed with Symfony 5.2.
The form will display all informations concerning this trick:
This feature can be accessible only by authenticated users.
The user can:
Acceptance criterion:
User edits some fields of the form, delete a photo, a video and save his changing: the user is redirected to the page listing all tricks with a flash message confirms the registration of the changing.
It is an empty form with different fields required:
This feature can be accessible only by authenticated users.
Scenario 1:
User fill the form and save: the user is redirected to the page listing all tricks with a flash message confirms the registration of his changing.
Scenario 2:
User edits a part of the fields required and save: the user is redirected to the modification form with an error message
Create the page which displays the trick's details. Information required:
Features to delete a trick from the database.
When the authenticated user click on the link, a window is displayed to ask the user if "he is really sure to delete the trick (Y/N)"?
Scenario 1:
The user click on "Yes": the trick is delete and will not be displayed anymore on the website.
Scenario 2:
The user click on "No": the windows is closed.
Obtain a "A" score with code climate and improve code organisation
Symfony 5.2
Entities to create (according to Physical Data Model):
comment on the code
If the user is authenticated, the field "let a comment" is displayed. This field is required to post the message.
The user can post as many messages as he wants.
Scenario 1:
The user is authenticated, writes his message and validate: a confirmation message appears.
Scenario 2:
The user is not authenticated: the "message" box is hidden.
Scenario 3:
The user is authenticated but doesn't fill the "message field before validation: an error message appears and the message is not posted
Users who are not authenticated can only read discussions of all the tricks but they can't write a message.
The comments must be paginated (5 per pages) and appear from the most recent to the oldest.
For each comments, this information must be displayed:
Chat room is located at the bottom of the trick's details page.
Create the home page which displays a list of all tricks (all users can access to this page). 15 tricks load first (the others can be loaded in a second time thanks to a button).
For each trick, a link redirects to trick's details page.
If the user is authenticated, two icons appear:
Create a registration page for new user account. The information required into the form are:
This feature is accessible by the navbar.
_Acceptance criterio_n:
The user fills all the fields required and submits the form: he receives an Email with a link to click in order to validate and activate his user account. Then he is redirect to the home page of the website with a flash message but he is not authenticate.
make the site display more ergonomic and responsive
Create authentification page. The information required into the form are:
The features is accessible by the navbar with a link to sign in.
When the user is already log in, the linked is replaced by log out link.
Scenario 1:
The user fills the fields required and submits the form: a new session is opened and the user is redirected to the home page of the website.
Scenario 2:
The user forgets to fill one or many fields: he is redirected to the login form and a flash message appears with the type of error(s).
Create a "forgot password " form to start new password process. The field "username" is required.
And a "reset password" form accessible by a token sent by Email, to create a new password. The fields "username" and "password" are required.
Acceptance criterion:
The user writes his username and submits the form: an email containing a reset token will be sent to the user. This will redirects him to the "Reset password" form via a link.
In this second form the user will write his new password. When the form is submitted, the user is redirected to the home page as an anonymous user.
Create a management account page in which the user can edit:
A link appear on the navbar when the user is authenticated.
Scenario 1:
The user edit one or many fields and submit the form: he is redirect to the home page
Scenario 2:
The user forgets to fill one or many fields or the fields are not valid: he is redirected to the form and a flash message appears with the type of error(s).
Basic template contains head, navbar and footer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.