Skip to content

Scalable Full-stack clone of Pastebin.com built using Flask RESTful API, React, and cloud solutions like Azure Blob Storage and AWS RDS (MariaDB). This web application allows users to share large amounts of text with anyone and provides additional privileges upon registration.

License

Notifications You must be signed in to change notification settings

adiletbaimyrza/pastebin_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pastebin.com Clone WebApp

webapp-scheenshot-1

A scalable full-stack web application built using Python micro-framework Flask and JavaScript framework React. React was used to manage and show data on the front-end as well as to send requests to the back-end. The back-end was built as a regular RESTful API, which utilizes cloud solutions like Azure Blob Storage and AWS RDS (MySQL).

This webapp is a clone of a popular text-sharing website Pastebin.com. My WebApp's Backend Architecture was build to resemble the actual architecture of the original service. The application allows users to share large amounts of text with anyone and provides additional privileges upon registration.

application architecture

Video Snippet

video snippet

Features

User authentication and authorization implemented with JWT Tokens

You can set the time of your paste's live availability on the service up to 365 days.

User can comment on other folks' pastes and track his own.

Short URL Hash generation mechanism implemented using base64, which guarantees up to 8^62 unique hashes if the length == 8 chars.

def generate_short_url_hash(id: str, length=8) -> str:
    # bytes-like object
    blo_object = to_bytes_like_object(id)
    hash = base64.urlsafe_b64encode(blo_object)
    short_hash = hash[-length:].decode()

    return short_hash

In case of any questions, please don't hesitate to contact me.

LICENSE

MIT

About

Scalable Full-stack clone of Pastebin.com built using Flask RESTful API, React, and cloud solutions like Azure Blob Storage and AWS RDS (MariaDB). This web application allows users to share large amounts of text with anyone and provides additional privileges upon registration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published