This project was bootstrapped with Create React App, then ejected, hence the loads of dependencies .
CI produces a docker image you can pull and run.
$ docker run -p 9000:80 slyg/delivr
# -> Serves content at http://localhost:9000/ or http://<docker_host>:9000/
# Build
$ docker-compose -f docker-compose.build.yml up
# -> Built files in /build folder
# Serve
$ docker-compose up
# -> Serves content at http://localhost:9000/ or http://<docker_host>:9000/
# Run test
$ docker run --entrypoint=/bin/bash delivr-build -c "npm test"
# Install yarn
$ npm install -g yarn
# Install dependencies
$ yarn
# Serves content in dev mode
$ npm start
# Unit tests
$ npm test
- Handle net errors
- More tests, e.g. ui components w/ enzyme, other unit tests, e2e tests
- Handle cross-browsers issues
- Handle mobile devices
- Use backend proxy for api calls (hides token)
- Fix CI (docker build image is too big and makes docker authentication token expire before image is actually built)
- Optimize
<MapContainer />
rendering strategy (smart diff ?) - Host project somewhere, e.g. on surge.sh
- Cleanup dependencies