A "clone" of Quora website.
This project is for training purpose only. Don't use real infos here !
- Symfony > 5.0.0
- PHP > 7.2
- Apache server
- MySQL or PostGRESQL
- Clone the project on your local repository
git clone git@github.com:AlexandreRavichandran/Quiver.git`
-
go to .env file, remove the # and change the DATABASE_URL depending on your database software
-
Create the database with either Symfony CLI (if you have it installed ) or basic php console commands.
symfony console doctrine:database:create
or
php bin/console doctrine:database:create
- Make all migrations to the database to create and update all fields on the database
symfony console doctrine:migrations:migrate
or
php bin/console doctrine:migrations:migrate
- (OPTIONNAL) Create fixtures to add some fake data so that you can explore all features of the website
symfony console doctrine:fixtures:load
or
php bin/console doctrine:fixtures:load
- open the php server
symfony serve -d
or
php -S 0.0.0.0:8080 -tpublic
You can see here all features that Quiver provides :
- Ask a question and answer to a question
- Add comment and sub-comment
- Creating space and relate question to spaces
- Subscription system between users and between user and spaces
- Editing profile ('profile picture and profile informations')
This project is the second project that I made with Symfony
I decided to make a website to work my skill about database relations, and API requests. I decided to do a "clone" of the Quora website. Quora is a forum website where users can ask a question about a subject, and answer to another user's question. There is also a comment section feature, subscription system, and spaces section. I have implemented all theses features on my project.
In this project, I paid attention to respect Symfony coding standard and symfony syntax, and also documentations on my controllers methods. I tried to respect KISS too.