Skip to content

A sample delivery app using DoorDash Drive APIs, written in Go

License

Notifications You must be signed in to change notification settings

infin8x/request-a-dasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Request a Dasher

A simple Go webapp for requesting a DoorDash Dasher via the DoorDash Drive (v2) APIs.

How to run

Make sure you've got the following environment variables set wherever you'll run the app.

Then, run the Go webserver:

cd app && go run main.go

Or, you can run it inside a Docker container:

cd app
docker build -t request-a-dasher:latest .
docker run -it -p 8080:8080 request-a-dasher:latest

How to deploy to Azure

You can deploy this to an Azure App Service (optimized for minimal monthly cost) using the Pulumi program in infra. You'll need pulumi and the az CLI installed:

cd infra
az login
pulumi stack init dev
pulumi config set azure-native:location WestUS # or your region of choice
pulumi up