Skip to content

IsDon/isdon-shopping

Repository files navigation

isdon-shopping

ShoppingList and Cart basic application in Django / React

This is a simple first pass at a shopping list (from given json resource) which allows adding single or special deal amounts to a checkout, built as a seperate django app for interchangeability of each part.

Installation

  1. setup files in a directory
  2. establish virtual environment from parent folder recommended
  3. in \reactEx project folder:
  4. npm install (install npm packages from package.json)
  5. pip install -r requirements.txt (install pypi packages)
  6. replace django.js package url with file contents 'djangojs.replacement.urls.py'
  7. python manage.py migrate
  8. python mange.py createsuperuser
  9. add host url to ALLOWED_HOSTS
  10. python manage.py runserver

Usage

If you modify js, jsx or css, re-build with webpack, default config file in reactEx folder. (shortcut is npm run build)

Contributing

  1. Really this is just an experiment for me - but if you want to take it further or use it for whatever purpose, go for it: Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request, and I'll see about bringing it back in :D

History

Built base app in 4 hours (plus some pre-research, planning) Added total to Cart app and some css highlights to shopping List app after initial testing

Credits

Don Bloomfield

License

MIT licence for general use (credit), contact me for anything else you need.

About

ShoppingList and Cart basic application in Django / React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors