Skip to content

Making this work open source as I abandoned it more than a year ago. Django+drf as backend, front-end in javascript (knockout).

License

Notifications You must be signed in to change notification settings

julienaubert/clothstream

Repository files navigation

This project was a real app, but was abandoned. It was meant for end-users to organize collections of clothes (for inspiration/sharing.purchasing).

There are useful bits and pieces and so I am open sourcing it for future use. I may split out parts and make them smaller libraries later.

Notes below were notes for myself while I was working on it.

PS: I would definitely go for another tech stack at this point. (I still like django+drf as backend, but would use Stylus+React+NPM/babel.js in front)

== TODO ==

once bower pkg fixed, add to bower.json: "knockout-js-infinite-scroll": "0.1.0"

== Patterns ==

Do: Update state on front-end only after receiving success from server.
Otherwise we can get into an inconsistent state, causing frustrations to users and hard-to-debug bug-reports.


== Frontend ==

Pre-requisites, install:

    node-js/npm
    npm install -g brunch bower
    gem install bundler

cd frontend
bower install
npm install
./bower_assets.sh
bundler install

NOTE: do not use gem directly, e.g. if you run brunch before bundler install it may ask you to do: gem install sass
don't do it! use bundler install (because the latter ensures you install a compatible version and not the latest one)


After this can run front-end server which will reload automatically if change anything in frontend/app/*

    brunch w -s


About

Making this work open source as I abandoned it more than a year ago. Django+drf as backend, front-end in javascript (knockout).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published