Code Monkey home page Code Monkey logo

flask-photo-site's Introduction

Flask photo site

General overview

A photo site made using the Flask and React, this was made as a replacement site for a Flickr user.

SQLite3 was used as a database and I decided against an ORM because I wanted to practice writing some SQL.

The database schema was dictated partly by how Flickr stores data as the data source was from the Flickr API.

The basic functionality of Flickr has been implemented without the social aspects. This was at the request of the end user.

Features and further information

I used React for parts of the site where one of more things are selected. For example selecting photos to add to an album or selecting an album to place newly uploaded photos into.

I also implenented my own tag system that allows for tags with spaces and most special characters. Special characters are encoded for urls and made human readable for the end user.

Exif data is captured and stored but as of yet this is used only for the date the photo was taken.

Multiple images can be uploaded which are correctly orientated, resized and stored by year and month on the file system.

Bootstrap-filestyle was used for styling the buttons and input on the upload page.

Image previews are 300x300.

A login system exists but it is not intended for general registration and is purposfully limited.

For styling I used bootstrap 4 and some minimal CSS which I will hopefully be improving later.

The site is deployed on Ubuntu 16 using Gunicorn and Nginx.

Live example

See the live version of this site

Using

  1. Flask
  2. React
  3. SQLite
  4. Bootstrap-filestyle
  5. jQuery
  6. Ubuntu
  7. Guincorn
  8. Nginx

flask-photo-site's People

Contributors

a-watkin avatar

Stargazers

 avatar  avatar  avatar 冰破 avatar

Watchers

James Cloos avatar

Forkers

smzhao fsecada01

flask-photo-site's Issues

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.