Giter Site home page Giter Site logo

qianzy96 / canteen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neoyoung/canteen

0.0 2.0 0.0 1.47 MB

A food ordering sys for fun and practice, based on django + bootstrap + JQ + require.js

Python 22.39% CSS 1.05% JavaScript 67.89% HTML 8.67%

canteen's Introduction

#A small canteen demo

Tech stack

  • Front-end

  • Bootstrap

  • Simple OO

  • require JS

  • JQ(offcourse)

  • Back-end

  • Django >=1.4

  • MYSQL

Feature

  • meal select
  • order list
  • foods and menu management
  • whiteList for auth(for cp intern use )
  • exercise support

DEMO

sina SAE

TODO

  • food comment/Tag
  • user interaction
  • web chatroom
  • game?? oh my =.=

Development INSTALL

  • prepare database
CREATE DATABASE canteen CHARACTER SET utf8;
CREATE USER 'canteen'@'localhost' IDENTIFIED BY 'canteen';
GRANT ALL ON canteen.* TO 'canteen'@'localhost';
  • prepare the virtual env
cd path/to/project
virtual .
source bin/activate
  • install the python eggs
cd path/to/project/
pip install -r requirments.rt
  • run the code
cd path/to/prepare/canteen
./manager syncdb
./manager runserver

Additional Message

It's a demo based on serveral project,go check it if you want to know more.

  • The ecommerce, a good book for newbie to master django.
  • A similar menu sys,called canku which based on nodejs.
  • go check the deploy.md for deployment on freebsd or *nix support

canteen's People

Contributors

123daoxyz avatar

Watchers

James Cloos 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.