Git Product home page Git Product logo

shrn-to's Introduction

Shrň.to

Disclaimer

This code somewhat works, but is not actively maintained. If you find a bug though, you can let me know and I will try to fix it.

NEW: Deploy this site with Docker

All you have to do is to run this command and you are ready to go.

docker compose up

About project

Last changes: August 2021

The name of this project could be translated as Sum it up and the name basically speaks for it; it's a project that lets you take some source and sum it up for others, so they can get a basic understanding of a topic, and if they are interested, they can dive deeper into it.

Features it contains are e.g.:

  • Adding, editing and deleting of articles and features like embeds and collapsibles
  • User profiles with name, unique username and profile picture that you can change later
  • Logging in/out with SESSIONs and cookies (remembers login)
  • Roles (user, admin, owner)
  • Listing all articles

My comments and observations

This project was meant mainly as a "test project" where I could apply my knowledge of HTML/(S)CSS/JS, PHP and SQL, with the side-effect of getting to know how web servers like Apache HTTP Server work.

Even if the code is "wrong" in most ways you can imagine, I'm, after all, still impressed with some features, e.g.

  • Storing passwords as hashes with salting and even peppering
  • Categories, which work on a "parent-child" basis and are written from scratch
  • Own wrapper around SQL library
  • Focus on CSS-pure style (no JS animations)
  • Using corresponding HTML tags like nav for navigation and footer for... footer 😎
  • Using a templating strategy
  • Storing database details in .htaccess
  • Sanitizing text from users

Technologies used

  • HTML/CSS/JS
  • Sass (SCSS)
  • PHP
  • SQL (MySQL)
  • Apache HTTP Server

shrn-to's People

Contributors

k8ieone avatar nktrjsk avatar

Watchers

 avatar

Forkers

k8ieone

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.