quyctd / viblo-clone

Free service for technical knowledge sharing - Technology Blog Sharing Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Up2date - technical sharing blog

build chat

Table of Contents

Introduction

Một trang web Technical Blog tương tự như Viblo Asia. Sử dụng Angular 7 và Django.

tags: Python 3.x Django 2.x Angular 7 Django Rest Framework 3.x Ngx-simplemde 1.0.0

Structure

 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

Installation

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:

  1. Install node js
brew update
brew install node
  1. Install dependency modules
cd fg-blog-angular-app/
npm install

Run Project

Run server

cd fg-blog-API/
python manage.py runserver

Run angular app

cd fg-blog-angular-app/
ng serve

Features

  • 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.

About

Free service for technical knowledge sharing - Technology Blog Sharing Website


Languages

Language:CSS 74.3%Language:HTML 10.9%Language:TypeScript 9.6%Language:Python 4.3%Language:Makefile 0.8%Language:JavaScript 0.1%