Skip to content

A reader for SJTU Simple Syndication. 为专注阅读的人以及交大学生设计的RSS阅读器。

License

Notifications You must be signed in to change notification settings

BeaCox/JSS_Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSS_Reader

A reader for SJTU Simple Syndication.

Front-end

Environment

This project is built using React and relies on the following main dependencies:

  • Node.js:18.18.0
  • React: 18.2.0
  • Create-react-app:5.0.1
  • Antd: 5.9.4
  • Axios: 1.5.1

Usage

use npm

You can install project dependencies using the following command:

npm install

You can run the project locally using the following command:

npm start

Open http://localhost:3000 to view it in your browser.

Todo

Landing Page

  • Feature blocks animation appearing one by one 10.2x
  • Display details on mouse hover over feature blocks 10.2x
  • Button in bottom right to quickly return to the top 10.2x
  • Beautify the registration and login pages 10.28
  • Replacing text and images in the property display section

Content

  • Categories and subscriptions lists 10.2x
  • Rss detail Modal 10.2x
  • Newfeed 10.28
  • Three views for RSS articles 10.28
  • Fetching articles 10.28
  • Display content following HTML syntax 10.28
  • Explore page 10.29
  • Updates when a new subscription is added 10.30
  • Solve the tag confusion problem 10.30
  • Solve the bug of not rendering 'unread' icon in time after one-click reading 10.30
  • Solve the new feed render order problem 10.30
  • Add a loading component before successfully rendering the article 10.31
  • Modify the style 10.31
  • Render 'star' and 'unread' icons anytime property changed
  • Change the Logo ?
  • Adapts to different sizes of devices

Account

  • Delete account 10.28
  • Test and modify reset password and email10.29
  • Modify username 10.29

Settings

  • General
    • Default sort - latest/oldest 10.30
    • Default presentation - cards/magazine/titles view 10.30
    • Mark as read on scroll - yes/no 10.30
  • Appearance
    • Fontsize 10.30
    • Fontfamily 10.30
    • Theme (add system preference) 10.30
    • Display density 10.30
  • Settings test and imporove 10.31

Back-end

Environment

This project is built using Go fiber and relies on the following main dependencies:

  • golang:1.21

  • mysql:5.7

  • redis:6.2.6

Usage

You can install project dependencies using the following command:

go mod tidy

create .env:

SECRET_KEY=Your_secret_key_for_jwt
DB_USER=Your_db_user
DB_PASSWORD=Your_db_password
DB_HOST=mysql
DB_NAME=Your_db_name
MAIL_HOST=Your_mail_host
MAIL_PORT=Your_mail_port
MAIL_USER=Your_mail_user
MAIL_PASS=Your_mail_pass
REDIS_ADDR=redis:6379
REDIS_PASSWORD=Your_redis_password
REDIS_DB=0
REMOTE_BACKEND_URL=http://localhost:8000
REMOTE_FRONTEND_URL=http://localhost:3000

You can run the project locally using the following command:

go run main.go

Quick Start

create .env file:

SECRET_KEY=Your_secret_key_for_jwt
DB_USER=Your_db_user
DB_PASSWORD=Your_db_password
DB_HOST=mysql
DB_NAME=Your_db_name
MAIL_HOST=Your_mail_host
MAIL_PORT=Your_mail_port
MAIL_USER=Your_mail_user
MAIL_PASS=Your_mail_pass
REDIS_ADDR=redis:6379
REDIS_PASSWORD=Your_redis_password
REDIS_DB=0
REMOTE_BACKEND_URL=Your_backend_url_without_slash_at_end
REMOTE_FRONTEND_URL=Your_front_end_url_without_slash_at_end

copy it to the project root directory and backend directory

build jss_reader-react image:

cd frontend
docker build -t jss_reader-react:1.1.0 .

build jss_reader-go image:

cd backend
docker build -t jss_reader-go:1.1.0 .

run using docker compose file:

docker compose up

Authors

@BeaCox

@wytili

@Sora-Yanl

@G-AOi

About

A reader for SJTU Simple Syndication. 为专注阅读的人以及交大学生设计的RSS阅读器。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published