Skip to content

A small demo blog site built using PHP Symfony 5 framework. There are pre defined users who can login by providing email and password which is stored by using hashing technique. Users can post Questions and Answer to other users Questions. Users can also vote up or vote down to answers. It is a small web application having a RESTFul API through …

License

Notifications You must be signed in to change notification settings

danisaleem/php-symfony-demo-blog

Repository files navigation

Description

  • My attempt at exploring the PHP Symfony5 web development framework to create Restful web app.
  • This is a demo PHP project for a Question & Answers blog.
  • Users can post questions and give an answer to posted question.

More about symfony5 here
symfony5 Documentation

How to run.

  • To run this project, you need
  • PHP 7.4 download link
  • symfony pre-requisits (installation guide)
  • an empty MySql database named 'demodb'
  • open cmd, goto project directory
$ php bin/console make:migration         
$ php bin/console doctrine:migrations:migrate  
$ php bin/console doctrine:fixtures:load  
$ symfony serve  

Login details:
user01 email: abc@gmail.com
user01 password : abc

user02 email: cat@gmail.com
user02 password : abc

Screenshots

SignIn Page

Questions Page

Answers Page

About

A small demo blog site built using PHP Symfony 5 framework. There are pre defined users who can login by providing email and password which is stored by using hashing technique. Users can post Questions and Answer to other users Questions. Users can also vote up or vote down to answers. It is a small web application having a RESTFul API through …

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published