/fuchtard

Web application for food delivery service

Primary LanguageJavaScript

About

Web application for food delivery service with such features:

  • React driven Single Page Application
  • Mobile-first responsive design following Material design specs
  • Simple UI, minimum steps from start to checkout
  • Decoupled server and client

Tech stack

Frontend

  • CSS modules
  • postcss-cssnext
  • react
  • react-router v4
  • react-toolbox Material Design UI Kit
  • redux
  • redux-thunk
  • reselect
  • seamless-immutable
  • webpack and babel w/o create-react-app

Backend

  • Python
  • Django
  • Django REST Framework

Deployment

  • Docker and docker-compose
  • nginx
  • uwsgi

Deployment

  1. Install docker and docker-compose
  2. Clone this repo and cd into
  3. Run docker-compose up -d to start up containers
  4. Apply migrations by running docker-compose run backend migrate

Maintenance

update

  1. rebuild bundle
docker-compose up frontend
  1. restart containers
docker-compose restart

database back up

pg_dump -U fuchtard -Fc fuchtard > ~/dump_`date +%Y-%m-%d"_"%H_%M_%S`.bak

database restore

pg_restore -U fuchtard -d fuchtard -Fc dump.bak

License

Contact me

TODO

  1. Get rid of jQuery mess
  2. Increase test coverage

Screenshots

Mobile Desktop