Skip to content

dan-lee76/onlydans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnlyDans

The exclusive site for dan lee

This is the newer version of OnlyDans which uses reacthooks instead of the classes.

This is a media sharing site used only for people called Dan. (Currently only implemented for Dan Lee) I have also created a custom backend using php for the site to retrieve data from a database.

View site: onlydans.uk

Upcoming Features

  • Darkmode
  • Loading Darkmode
  • Media View
    • View all images available
    • View date of image uploaded
    • Image navigation #6
    • Download image from media view
    • Use thumbnails so media loads quicker
  • Full unicode support
  • Ability to play videos
    • Implement backend
    • Implement frontend
  • Video mode shows thumbnail instead of play button
  • Implement like mode
  • Autobuilds based on source code

API

I have implemented a backend for OnlyDans. This is a connection to the DB, and has the ability to modify the content displayed.

getContent

You can view all of the data avalible at: api.danlee.uk/getContent. This will return a JSON string array with all of the content present on the site.

Usage

api.danlee.uk/getContent?id=34 -> This will return a JSON string array for that specific id.

Content Uploader (Closed Source)

The above image shows how im able to upload content to the website. This uses PHP to upload an image to the server, and compressess it if required. It then uses SQL to add date and description to the database.

Content Editor (Closed Source)

The above image shows how im able to edit posts, and delete them. When changing an image, it will delete it off the server. Theres also the ability to view the current image and edit any of the data of the post.