Skip to content

nnson0310/My_blog

Repository files navigation

Blog Website

Blog project Change project repository's location from gitlab to github Gitlab repo: https://gitlab.com/f464/blogger

Table of Contents

  1. Important note
  2. Features
  3. Install
  4. Screenshots
  5. License

Important Note

  1. This project is a blog project, main language is PHP and Javascript.
  2. Web framework is Symfony 5 and Vuejs 2
  3. User site using Vuejs to build UI components, admin site uses twig template of Symfony
  4. Backend API mainly using Symfony (Composer to manage dependencies), front-end using yarn
  5. Based on MVC (model-view-route-controller)
  6. Using doctrineDB to write SQL and interact with DB.

Features

Admin:

  1. Category, blog posts, tags, user management (CRUD)
  2. Import CSV to create data
  3. Sending email notification to registered user when a new post is published
  4. Views count, posts count... management
  5. Account Profile management

User:

  1. Read blog, add to favourite
  2. Register email to receive notification
  3. Comment, star vote

Install

  1. Clone project and run "composer update"
  2. Run php bin/console doctrine:migrations:migrate to migrate database
  3. Run user site: yarn encore dev-server
  4. Domain for admin site: your_domain/backdoor/login_form to go to login page

Screenshots

user-site1 user-site2 admin-site1

License

Feel free to clone and use it as you want. If you find this project useful, please give it a star.