Skip to content

An Android application for ordering food & drinks online and picking it up without having to wait in the line.

Notifications You must be signed in to change notification settings

Abdoronic/walk-thru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Walk Thru

Dependencies

Stripe: Stripe Go Stripe Go Charge Stripe Go Form Stripe Go Token

Glog: Golang Glog

MUX: Gorilla Mux

Postgresql: PQ PQ Oid PQ Scram

Config

Enviroment Variables: WEB_HOST, WEB_PORT, DATABASE_HOST, DATABASE_PORT, DATABASE_USER, DATABASE_PASSWORD, DATABASE_DBNAME, STRIPE_KEY

If Enviroment Variables are not exported in the working directory, the values can be fetched through the config.json file.

Sample Config File:

{
  "dbHost": "postgres",
  "dbPort": "5432",
  "dbUser": "postgres",
  "dbPassword": "StrongPassword",
  "dbName": "postgres",
  "webHost": "",
  "webPort": "8000",
  "stripeKey": "sk_test_##############"
}

Docker

Project uses the golang:alpine image.

To run docker image:
docker build -t webserver .
docker run -p "8000:8000" webserver

Where 8000 is the WEB_PORT.

Docker-Compose

To run Docker Compose:
docker-compose build
docker-compose up

About

An Android application for ordering food & drinks online and picking it up without having to wait in the line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages