Skip to content

jfroom/poc-react-invoice

Repository files navigation

poc-react-invoice Build Status

Simple React/Redux/Router/Flow based Invoice SPA proof-of-concept. Loosely based on Seed Frontend Homework.

Demo: https://jfroom.github.io/poc-react-invoice

Blog post with a bit of commentary on the technologies.

Demo image

Technologies

Getting Started

Required

  1. Install Docker 17.03.0-ce+. This should also install Docker Compose 1.11.2+.
  2. Verify versions: docker -v; docker-compose -v;

First run

docker-compose build Builds images.

Usage

Development

docker-compose up Starts web server.

open http://localhost:3000/ Loads default page into local browser.

docker-compose exec web yarn lint Run linter, stays open with watch.

docker-compose exec web yarn flow Run Flow type checker, stays open with watch. Flow much easier to work with inside of an IDE like Atom with Nuclide, or WebStorm.

Test

docker-compose exec web yarn test Run test suite, stays open with watch.

Build

docker-compose exec web yarn build Create production build of static files.

docker-compose exec web yarn serve-build Serve the build locally.

Additional References

TODO

About

Simple React/Redux/Router/Flow based Invoice SPA proof-of-concept

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published