https://github.com/rahulstech/blogging_webapp_php_mysql
simple blogging web app usign php 8.1 as backend and mysql as database
https://github.com/rahulstech/blogging_webapp_php_mysql
Last synced: 12 days ago
JSON representation
simple blogging web app usign php 8.1 as backend and mysql as database
- Host: GitHub
- URL: https://github.com/rahulstech/blogging_webapp_php_mysql
- Owner: rahulstech
- License: apache-2.0
- Created: 2022-09-23T04:01:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-01T10:37:28.000Z (over 2 years ago)
- Last Synced: 2025-02-26T07:34:19.381Z (4 months ago)
- Language: PHP
- Size: 792 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blogging_webapp_php_mysql_doctrine
simple blogging web app usign php 8.1 as backend and mysql as databaseFeatures Implements
- Sign Up
- Log In
- Forget Password and change password with after authtication via username / password
- Seperate home page top navgation for logged in and guest user
- Profile view seperate sections with side panel navigation
- Create Edit Delete and Delete all posts
- Post view with side panel to browse related post with search by title feature
- Cookie based authentication
- identity check before each restricted page request
Features Not Implements
- Search by anything
General Instruction
run the composer command, it will install all required php frameworks
composer install
next create a mysql dbblogging
CREATE DATABASE IF NOT EXISTS "blogging"
renameenvironment.php.example
-->environment.php
and set the blank fields accordingly. check environment.php.example
Note: don't change any const name
run the following command from terminal or command line, it will create all necessary tables inside databse created before
./vendor/bin/doctrine orm:schema-tool:update -f --complete --dump-sql
Don't forget to add a virtual host entri in xampp apache httpd-vhosts.conf and also add the same host in system hosts file. In windows it's underC:\Windows\System32\drivers\etc
(Optional) To insert some fake data to run check website full functioning, add some autogenerated data using following command from terminal or command line
php cli-filldb.php