Giter VIP home page Giter VIP logo

shopify's Introduction

Shopify

This is the Developer Intern Challenge for SU21 Internships. This online repository was made with flask and sqlite3 and allows for the buying and selling (singly and in bulk) of images at various prices set by the user. It is written as an application for a store owner, so you can buy images at a wholesale price and sell them at your selling price. You can also add and remove images as you see fit, and edit pricing information.

To run, simply clone the repository, install flask and sqlite3 if necessary and run python main.py. This will host the web application, most likely at http://127.0.0.1:5000/. Then images can be bought and sold as expected. The images.db file will contain the image information, including its prices, the name and a path to the image itself. This project is a database because whenever and image is added, it is copied to the static/images directory, where it can also be removed if so desired.

The application logic allows users to sell their images to customers, but only if they have the required stock. There are also checks to make sure prices for images are never negative, though you can go in debt since there is no restriction on how much you buy from wholesalers.

Future Extensions

Future extensions could include permissions and the uploading of large numbers of different images. The application could also allow store managers to get useful statistics on their products, like the most and least popular images. This could be also extended to allow for permissions for who is allowed to add and delete images. However this does constitute a Minimum Viable Product.

shopify's People

Contributors

neilpg628 avatar

Watchers

 avatar

Forkers

qq18436558

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.