Coder Social home page Coder Social logo

receipt-tracker's Introduction

Receipt Tracker

CircleCI

Production: v.3.0: OCR enabled

A simple app for recording and tracking receipts. Java-based backend and API, React frontend.

This project is built on Adam Fleming's skeleton, a super simple foundation for building a scalable, RESTful HTTP server.

Building with Docker

  1. Run ./gradlew distTar this tells gradle to make a .tar file containing the java application code and all dependencies
  2. Run docker build -t myapp . this runs the Dockerfile, and builds an image tagged with myapp. See all images with docker images
  3. Run docker run -p 80:8080 myapp this runs the myapp image, routing port 80 on Your Machine to port 8080 in the container

Pushing to DockerHub

  1. Tag your image: docker tag myapp YOUR_DOCKERHUB_NAME/myapp
  2. Push: docker push YOUR_DOCKERHUB_NAME/myapp

Pushing to AWS (after setup)

  1. Run docker images to find the tag for your AWS cluster. It'll be something along the lines of YOUR_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com/YOUR_APP_NAME
  2. Run gradle build.
  3. Re-build an image tagged for your AWS cluster: docker build -t YOUR_AWS_TAG .
  4. Push the image: docker push YOUR_AWS_TAG

You may need to log into AWS again. If prompted, enter aws ecr get-login --no-include-email for Docker 17.06+.

receipt-tracker's People

Contributors

emtseng avatar amfleming avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.