Skip to content

Bullpeen/pagesix

Repository files navigation

Page Six

A better social link-sharing website.

TODO

  • change the name
  • model relationships defined:
    • 1 User -> 1 Comment
    • many comments -> 1 Post
    • many posts -> 1 Subreddit
    • many subreddits -> 1 Subreddits listing
  • add Constraints to models (?)
  • add table indexes (hot-sorted subreddit posts, homepage, user accounts)
  • user accounts w/CSRF
  • Individual Pages
    • homepage
    • /subreddits/ /subreddits/mine listings pages
    • subreddit landing page
      • Sorting parameter (/r/.../top/?t=year, /popular, new, rising, controversial)
      • use Pagination
    • /r/.../submit (per-subreddit)
    • /login, /logout, /password
    • prefs, settings
  • RSS feed import/sync (per-subreddit?)
  • API (https://reddit.com/dev/api/)

Development

From the root directory:

docker run \
    -dti \
    -v "./data:/var/data" \
    -v "./app:/var/www" \
    -e LAPIS_ENV="development" \
    -p 8080:80 \
    --name pagesix \
    --platform=linux/amd64 \
    karai17/lapis-centos:latest

Then, visit: http://localhost:8080/

Notes