GithubHelp home page GithubHelp logo

michaelfu0403 / mock-instagram Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 764 KB

a small picture -sharing website based on python flask +sqlite+Ajax+ qiniuSDK

Python 27.97% JavaScript 9.84% CSS 31.16% HTML 31.03%
python flask mysql bootstrap qiniu-sdk

mock-instagram's Introduction

mock-instagram

a small picture-sharing website based on python flask +sqlite+Ajax+ qiniuSDK

this program is small because only achieving some core functions like 1.register 2.login 3.browse other's pages 3.upload your own page 4.comment anyone's photographs

package using:

flask flask-login 0.3.1 flask-sqlalchemy flask-script qiniu

the structure of this project

manage.py \ 1. to init the database 2.to start the unit testing 3.runserver and debug

runserver.py \to runserver

test.py \ about unit testing

nowstagram->

app.config \1.to connect the database sqlite (url , track) 2.info about qiniu SDK (access key,secret key, bucketname, domain name)

models.py \ caputure the models to use ORM

qiniusdk.py \upload the files to my site to store the photographs

veiws.py \support the main functions (Business Logic Layer)

init.py \1. create app, manager,db. 2.set secretkey 3.use extension of jinjia to use 'break' in flask 4.create login_manager and the login_view page.

models.py \ caputure the models to use ORM

static \ javascript css images font

templates \ html pages

mock-instagram's People

Contributors

michaelfu0403 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.