jdlubrano / coffee-swoop

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 and its hot code reloading features, so the development flow is pretty painless.

Furthermore, this application was built using yarn 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. Just do git push heroku master and it should work like a charm.

Lessons Learned (Sort of...)

  • Use the awesome 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.

About

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

License:MIT License


Languages

Language:JavaScript 65.5%Language:HTML 16.9%Language:CSS 13.3%Language:Dockerfile 4.3%