Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jdlubrano/coffee-swoop

A (hopefully) simple application to coordinate coffee orders for you and your crew
https://github.com/jdlubrano/coffee-swoop

Last synced: 23 days ago
JSON representation

A (hopefully) simple application to coordinate coffee orders for you and your crew

Awesome Lists containing this project

README

        

# Coffee Swoop

## Getting Started

This application was meant to be developed using Docker. Mainly because
I don't know Docker very well and needed a sandbox in which I could bang my
head against the wall. The good news is that the application uses
[Webpack](https://webpack.js.org) and its hot code reloading features,
so the development flow is pretty painless.

Furthermore, this application was built using [yarn](https://yarnpkg.com)
and not _npm_. I figured, if I was going to endure the pain of learning of
Docker, why not add insult to injury and learn _yarn_, too?

### Running the Application (with Docker)

```
docker-compose build
docker-compose up
```

The application should run on localhost:8080.

### Running the Application (without Docker)

```
yarn start
```

### Deployment

Deployment is super easy because of the
[create-react-app-buildpack](https://github.com/mars/create-react-app-buildpack).
Just do `git push heroku master` and it should work like a charm.

## Lessons Learned (Sort of...)

- Use the awesome [create-react-app](https://github.com/facebookincubator/create-react-app)
package. It saved probably 10 hours of struggling with Webpack to achieve a superior
result. A good learning experience but not something that I want to repeat.

- When installing a new yarn package, you need to delete
the docker compose volumes in order to use it (apparently).
`docker-compose rm` will do the trick.