Open source logistics platform. Only for worker-owned business.
alexsegura Merge pull request #442 from coopcycle/api-disable-product
Allow manipulating restaurant products through API
Latest commit 0632fca Sep 21, 2018
Failed to load latest commit information.
app Expose products through API. Sep 21, 2018
assets Improve display of unavailable items. Sep 21, 2018
bin Purge database instead of dropping, exclude some tables. Jan 7, 2018
docker Fix Docker start script. Sep 9, 2018
docs/img Update README. Jan 25, 2017
features Add API endpoint to retrieve restaurant products. Sep 21, 2018
js Remove button to set order as ready. Sep 17, 2018
src Improve display of unavailable items. Sep 21, 2018
tests/AppBundle Hotfix for task events. Sep 10, 2018
var Update Sylius to 1.2, install currency bundle. Jul 20, 2018
web Remove deperecated Vagrant IPs from whitelist. Jun 30, 2018
.babelrc Use Webpack Encore. Mar 4, 2018
.dockerignore Docker optimizations. Sep 1, 2017
.editorconfig fix: indentation for .scss files Dec 22, 2017
.gitignore Add SQL file to init database. May 12, 2018
.gitlab-ci.yml feat: add deploy stage for paris instance May 23, 2018
.jshintrc Introduce AddressPicker. Oct 29, 2017
.travis.yml Update Mocha 4.0 usage. Jul 20, 2018 Simplify README, deprecate Vagrant, add Sep 21, 2017
LICENSE Use Peer Production License… Nov 29, 2016
Makefile Add options to init command. Aug 2, 2018 clean: remove outdated instructions about docker-sync Apr 30, 2018
behat.yml fix: fix behat tests Nov 14, 2017
composer.json Bump api-platform to 2.3. Sep 4, 2018
composer.lock Bump api-platform to 2.3. Sep 4, 2018
docker-compose-dev.yml fix: build for docker-sync Jan 21, 2018
docker-compose.yml Introduce stripe-mock. Fixes #312. Apr 28, 2018
docker-sync.yml fix: build for docker-sync Jan 21, 2018
package-lock.json Bump to 2.1.1. Aug 17, 2018
package.json Bump to 2.1.1. Aug 17, 2018
phpunit.xml.dist Update dependencies (Symfony 3.4 & API Platform 2.2). Feb 22, 2018
pm2.config.js Install minimist, use Lodash. May 29, 2018
postcss.config.js Use Webpack Encore. Mar 4, 2018
webpack.config.js Simplify checkout JavaScript. Aug 30, 2018


Build Status

CoopCycle is a self-hosted platform to order meals in your neighborhood and get them delivered by bike couriers. The only difference with proprietary platforms as Deliveroo or UberEats is that this software is reserved to co-ops.

The main idea is to decentralize this kind of service and to allow couriers to own the platform they are working for. In each city, couriers are encouraged to organize into co-ops, and to run their very own version of the software.

The software is under active development. If you would like to contribute we will be happy to hear from you! All instructions are in the Contribute file.

Coopcycle-web is the main repo, containing the web API, the front-end for the website and the dispatch algorithm :  Technical Overview . You can see it in action & test it here :

You can find a comprehensive list of our repos here : Our repos comprehensive list .

How to run a local instance


  • Install Docker and Docker Compose.

    • On OSX : use Docker for Mac which will provide you both docker and docker-compose. It doesn't rely on Virtualbox as Docker used to.

    • On Windows : use Docker for Windows which will provide you both docker and docker-compose. It doesn't rely on Virtualbox as Docker used to.

    • On Linux : follow the instructions for your distribution. docker-compose binary is to be installed independently. You can use Coopcycle without root privileges, to do so run sudo usermod -aG docker your-user (will add you to the docker group).

  • Run the install scripts.

make install

Run the application

  • Start the Docker containers
docker-compose up
  • Open the platform in your browser
open http://localhost


  • Create the test database
docker-compose run php bin/console doctrine:schema:create --env=test
  • Launch the PHPUnit tests
make phpunit
  • Launch the Behat tests
make behat
  • Launch the Mocha tests
make mocha

Running migrations

When pulling change from the remote, the database models may have changed. To apply the changes, you will need to run a database migration.

make migrations-migrate


The code is licensed under the Peer Production License, meaning you can use this software provided:

  • You are a worker-owned business or worker-owned collective
  • All financial gain, surplus, profits and benefits produced by the business or collective are distributed among the worker-owners