Coder Social home page Coder Social logo

cheater's Introduction

Cheater

This is a Python web application written with Flask, SQLAlchemy and WTForms

This is a "beta than nothin'" developed within 3 days, so some some stuff maybe does not work at all or does not work as it was expected :)

Intent

Write a simple cheatsheets storage. Sometimes I come across interesting articles I want to conspect for myself or I run into a problem I resolve and want to keep the solution somewhere... All in all, who can manage all the stuff inside a head? So, basically Cheater helps to keep notes

Run on localhost

Create database called cheater (for mysql):

create database `cheater`;

change the database DSN in cheater.database to whatever you have

Create tables

python manage.py db --create-all

Run server on localhost

python manage.py runserver [port] [-d | --debug ]

Navigate to 127.0.0.1:port in your browser. The default Werkzeug (used by the application) port is 5000, so if you run

python manage.py runserver

it will run on 127.0.0.1:5000

There is a bunch of stuff yet to todo here:

  • auth with OpenID, store and verify identity with Flask-Principal
  • allow cheat name change (the app reconizes cheat by it's name or by name's slug to be precise)
  • use deferred on some SQLAlchemy declarative based fields
  • add some tests
  • add some features to the application
  • add some features to the manage.py
  • add some js
  • add some navigation
  • fix some templates
  • fix some css
  • fix some bugs

Wheee

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.