Skip to content

An example backend web server written in Go with modularity in mind.

License

Notifications You must be signed in to change notification settings

bmdavis419/tapir-app

Repository files navigation

Tapir App Example

Goals of this app: https://bmdavis41902.notion.site/Tapir-App-Goals-d33eb7f8a5a94725af3f07cae2ecd86c

Getting Started

  1. Ensure you have Go installed & download task https://taskfile.dev/installation/
  2. Download the needed packages task install
  3. Create and populate the app.env file with the needed environment variables, can be found in app.env.example
  4. Start the dev server task dev
  5. View the API docs at http://localhost:8080/swagger

Note: for Windows users, update your bin & cmd string to include the .exe extension in .air.toml file before running task dev

bin = "./tmp/main.exe"
cmd = "go build -o ./tmp/main.exe cmd/http/main.go"

Deployment

Railway is the recommended deployment platform, but any platform that supports Docker should work.

Reference Video: https://youtu.be/C3cIIz73Q3s

About

An example backend web server written in Go with modularity in mind.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published