Giter VIP home page Giter VIP logo

drty's Introduction

drty -- A django port for node.js

DESCRIPTION

drty is a port of the most excellent Django web framework to node.js.

drty currently includes the following:

  • Urls/Routing
  • Middleware
  • Views
  • Basic forms
  • Basic models using MySQL backend
  • Sessions and Auth contrib
  • Django templating support (thanks to Anders Hellerup Madsen and Simon Willisons of djangode!)

It's a work in progress, so there is much yet to be done!

INSTALLATION

Installation is easy

$ npm install drty

EXAMPLE

Included in the source tree is an example/ folder that contains a simple blogging platform written using drty. To run the example, open up mysql as administrator (root), and type the following:

create database demo;
grant all on demo.* to 'demo'@'localhost' identified by 'demo';

Then, go to the examples/ directory and run.

$ node manage.js syncdb
$ node manage.js runserver

Now open a browser to http://localhost:8080/login/.

drty's People

Contributors

abinnewies avatar

Stargazers

曹文忠 avatar mohammad avatar Islam Ali avatar Alexander Gugel avatar Pike avatar jhtong avatar James Brinkerhoff avatar Mike avatar Gary Lo avatar Sonic avatar Lucas Welper avatar Andrey Antukh avatar  avatar Bruno Filippone avatar Randall A. Gordon avatar esehara avatar Viktor Evdokimov avatar pyzen avatar  avatar kane avatar  avatar Alberto Pose avatar Math VDH avatar Ashley Camba avatar Paul Smith avatar Ray Wang avatar Thomas avatar Tan Shiaw Uen avatar Hiroaki Yamane avatar Riley Strong avatar Eric Helms avatar Noah Jorgensen avatar Muhammed K K avatar Jason Ostrander avatar Tsung Wu avatar Masakazu Ishibashi avatar Jonny Buchanan avatar Alexander Strogy avatar David Lojudice Sobrinho avatar Josh Channings avatar Kiran Ryali avatar Joe Parry avatar Anders Hellerup Madsen avatar Christian Strappazzon avatar Yi Wang avatar Dima Utkin avatar Alexander Karpinsky avatar Josh Kritner avatar Boaz avatar Sveinung Tord Røsaker avatar David Calhoun avatar Daniel Lin avatar Kenneth Reitz avatar Mauro De Giorgi avatar Andrei Serdeliuc avatar Peter Prohaska avatar Jesse Heady avatar François de Metz avatar Romain Desplanques avatar Mohammed Irfan avatar Luis Borjas Reyes avatar Ali Baitam avatar  avatar Oleg Efimov avatar David Paccoud avatar Zoran Zaric avatar Bernhard Weisshuhn (a.k.a. bernhorst) avatar Leandro Ardissone avatar Igor "SkAZi" Potapov avatar Matías Agustín Méndez avatar Sam Gaw avatar Sasha Vladimirskiy avatar Joohun, Maeng avatar Joe McCann avatar Tom de Grunt avatar Fredrik Wärnsberg avatar Jeff Pelton avatar Pierre Bertet avatar Mike Yumatov avatar Jaime Bueza avatar André Luis Leal Cardoso Jr avatar C. Bess avatar Niels Wind avatar Jeremy Johnstone avatar Nestor G Pestelos Jr avatar Nikolay Kolev avatar Doug Tangren avatar Nate Anderson avatar Matt Croydon avatar Yoan Blanc avatar Issac Kelly avatar

Watchers

 avatar Jonghyeon Kim avatar

Forkers

strogo

drty's Issues

mysql backend returns invalid dates

Writing the dates to the DB in GMT works a-ok. When the mysql driver reads the dates back, it seems to convert the hours properly, but does not convert the day properly.

SQLite

Please, please create support for SQLite! MySQL installation is messy and unnecessary for development environments...

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.