Một trang web Technical Blog tương tự như Viblo Asia. Sử dụng Angular 7 và Django.
Root Project:
# The first project
fg-blog-API: Backend
Cung cấp API cho phía frontend
Sử dụng: Django + Django Rest Framework
# The second project
fg-blog-angular-app: Frontend
Giao diện + logic frontend
Gọi đến các API trong fg-blog-API
Sử dụng: Angular 7
# Gitignore
Git ignore file
# README.md
Readme file
Clone project
git clone https://github.com/quyctd/FG_blog.git
Backend: Required python 3.x
cd fg-blog-API/
pip install -r requirements/developments.txt
Frontend:
- Install node js
brew update
brew install node
- Install dependency modules
cd fg-blog-angular-app/
npm install
Run server
cd fg-blog-API/
python manage.py runserver
Run angular app
cd fg-blog-angular-app/
ng serve
-
Authentication
- Login
- Register
- Social login (Google, Facebook)
- Logout
-
Posts
- List newest post
- Read post
- Create post
- Edit post
- Delete post
- Upvote/Downvote post
- Table of content of Post
- Share post
- Clips post
-
Comment
- Comment in post
- Reply comment
- Edit comment
- Delete comment
- Share comment
- Upvote/Downvote comment
This document is still in development.