It's a simple Multilingual Proposal Center example for developer who interested in Canjs, Python Flask, Flask-SQLAlchemy and Jade.
- Canjs, Client-side JavaScript Framework.
- RequireJS, JavaScript file and module loader.
- Initializr, HTML5 templates generator.
- Bootstrap, Front-end framework.
- JSDoc, An inline API documentation processor for JavaScript.
- BusterJS, JavaScript testing toolkit.
- mustache, Logic-less templates.
- i18next, JavaScript translating toolkit.
- Flask, Microframework for Python based on Werkzeug, Jinja 2 and good intentions.
- Flask-SQLAlchemy, Extension for Flask that adds support for SQLAlchemy.
- Jade(pyjade), High performance port of Jade-lang for python.
- Flask-Babel, Extension to Flask that adds i18n and l10n support to any Flask application.
pip install -r requirements.txt
python init.py
python canjs_flask_proposal.py
- When you click a orange button, it will go to proposal page.
- Chose a category and fill out the form, the data will be stored in DB.
- When you click the vote button, the vote count will be increased. (IP based)
- If you have more than three items, You can see the 'more' button. When you click this, you can see more items.
- You can change the language setting with parameter lang. (?lang=en|ko)
This Proposal center application source(Canjs + Python + Flask + Flask-SQLAlchemy + Jade) was made by JoongSeob Vito Kim. It's under the MIT license.