diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000..5f5b07891a Binary files /dev/null and b/.DS_Store differ diff --git a/.env b/.env new file mode 100644 index 0000000000..14f6494f9b --- /dev/null +++ b/.env @@ -0,0 +1 @@ +PORT="8080" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/README.md b/README.md index c2bec0368b..6397ad1605 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![CI Tests](https://github.com/Jay-Jay-Capacity/learn-cicd-starter/actions/workflows/ci.yml/badge.svg) + # learn-cicd-starter (Notely) This repo contains the starter code for the "Notely" application for the "Learn CICD" course on [Boot.dev](https://boot.dev). @@ -21,3 +23,5 @@ go build -o notely && ./notely *This starts the server in non-database mode.* It will serve a simple webpage at `http://localhost:8080`. You do *not* need to set up a database or any interactivity on the webpage yet. Instructions for that will come later in the course! + +Fortune's version of Boot.dev's Notely app. diff --git a/coverage.out b/coverage.out new file mode 100644 index 0000000000..e69de29bb2 diff --git a/internal/.DS_Store b/internal/.DS_Store new file mode 100644 index 0000000000..1d3f4949b3 Binary files /dev/null and b/internal/.DS_Store differ diff --git a/internal/auth/auth_test.go b/internal/auth/auth_test.go new file mode 100644 index 0000000000..e69de29bb2 diff --git a/main.go b/main.go index 19d7366c5f..0ca8a24f08 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ type apiConfig struct { //go:embed static/* var staticFiles embed.FS -func main() { +func main(){ err := godotenv.Load(".env") if err != nil { log.Printf("warning: assuming default configuration. .env unreadable: %v", err) diff --git a/sql/.DS_Store b/sql/.DS_Store new file mode 100644 index 0000000000..4832d0154d Binary files /dev/null and b/sql/.DS_Store differ diff --git a/vendor/.DS_Store b/vendor/.DS_Store new file mode 100644 index 0000000000..87d982c16e Binary files /dev/null and b/vendor/.DS_Store differ