/hdhs.live

anonymous media site for usage in a certain highschool

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

HDHS Live

wakatime upordown python

What is this?

This is the repository containing the source code and documentation for my first full stack website; an anonymous social media website.

What stack is used?

Pretty much the most barebones stack possible:

  • HTML + CSS + JS
  • jinja templates served via flask
  • sqlite3 database with custom endpoints routed through the flask app
  • gunicorn + nginx for deployment

How is the server hosted?

I recieved a free domain + ssl certificates from name.com through the github student developer pack and built a pi 4 (4GB) server with a fan and usb flash storage to hold all of the files.

What are the basics of the site?

The site has a few distinguishing features such as:

  • unlimited "laughs" on post and comment content (similar to yikyak)
  • post id and comment id system similar to early internet message boards and forums
  • video and image content support
  • fully fledged report and moderation system (password locked on the admin facing side)
  • fully functional comment system
  • the ability to sort posts by date (asc, desc) and popularity
  • the ability to search for posts using id's or keywords found in usernames and post content.

What does the site look like?

mobile desktop
mobile1 desktop1
mobile2 desktop2

Skills that I learned creating this:

  • Flask
  • Sqlite3
  • jinja templating
  • xhr requests and asychrenous javascript
  • gunicorn and nginx
  • creating api
  • securing websites with ssl certificates

Other Information

The documentation on the api (which is currently unfinished) can be found in the docs folder in the root of the repository.