Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jdlubrano/coffee-swoop
- Owner: jdlubrano
- License: mit
- Created: 2017-04-26T01:52:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:50:05.000Z (about 2 years ago)
- Last Synced: 2024-04-14T21:48:37.668Z (9 months ago)
- Language: JavaScript
- Size: 1.49 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.