Skip to content

Commit

Permalink
Delete the Golang API as it's no longer needed (#289)
Browse files Browse the repository at this point in the history
* Delete the Golang API as it's no longer needed

🫡 You would a fun API to learn with, but now, I think I'm good doing
this all in Typescript on a single hosting provider.

* Version bump to 6.0.0
  • Loading branch information
eligundry authored Jul 6, 2023
1 parent 2395fdc commit d9a1bd9
Show file tree
Hide file tree
Showing 256 changed files with 34 additions and 9,294 deletions.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

7 changes: 1 addition & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ version: 2

updates:
- package-ecosystem: npm
directory: "/astro"
schedule:
interval: monthly
open-pull-requests-limit: 5
- package-ecosystem: gomod
directory: "/api"
directory: "/"
schedule:
interval: monthly
open-pull-requests-limit: 5
8 changes: 2 additions & 6 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ jobs:
with:
node-version: 18
cache: 'npm'
cache-dependency-path: astro/package-lock.json
cache-dependency-path: package-lock.json
- run: npm ci
working-directory: astro
- name: Run linters
working-directory: astro
run: npm run lint

astro-check:
Expand All @@ -30,9 +28,7 @@ jobs:
with:
node-version: 18
cache: 'npm'
cache-dependency-path: astro/package-lock.json
cache-dependency-path: package-lock.json
- run: npm ci
working-directory: astro
- name: Astro check
working-directory: astro
run: npm run astro-check
33 changes: 0 additions & 33 deletions .github/workflows/serverless-deploy.yml

This file was deleted.

38 changes: 27 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
*.pyc
**/node_modules/
gatsby/node_modules/
data/*
!data/.gitkeep
# build output
dist/
.output/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
api/vendor
!api/migrations/*.sql
api/bin
api/.serverless
api/node_modules
.env.production

# macOS-specific files
.DS_Store

# site build caching
.cache
.astro
public/astro-fontaine
.temp*
dist

# Local Netlify folder
# Netlify cache
.netlify
File renamed without changes.
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# [eligundry.com](https://eligundry.com)

![Github Actions Status](https://github.com/eligundry/eligundry.com/actions/workflows/.github/workflows/serverless-deploy.yml/badge.svg)
[![Netlify Status](https://api.netlify.com/api/v1/badges/124e05a1-30a5-4e2c-bde5-1aa34cce1b4a/deploy-status)](https://app.netlify.com/sites/eligundry/deploys)

My personal website.
Expand All @@ -12,17 +11,9 @@ My personal website.

## Frontend Development

1. `cd astro`
2. `npm ci`
3. `npm run dev`

## Backend Development

1. `cd api`
2. `make static-build`
3. `./bin/api`
1. `npm ci`
2. `npm run dev`

## Deployment

All pushes to main will trigger build on Netlify. Pushes to main with changes in `api/` will cause Github Actions to
trigger a deploy to AWS Lambda.
All pushes to main will trigger build on Netlify.
4 changes: 0 additions & 4 deletions api/.dockerignore

This file was deleted.

22 changes: 0 additions & 22 deletions api/Dockerfile

This file was deleted.

22 changes: 0 additions & 22 deletions api/Makefile

This file was deleted.

34 changes: 0 additions & 34 deletions api/auth/controller.go

This file was deleted.

13 changes: 0 additions & 13 deletions api/auth/middleware.go

This file was deleted.

62 changes: 0 additions & 62 deletions api/cmd/lastfm-downloader/main.go

This file was deleted.

54 changes: 0 additions & 54 deletions api/cmd/static-site-build-trigger/main.go

This file was deleted.

7 changes: 0 additions & 7 deletions api/common/aws.go

This file was deleted.

26 changes: 0 additions & 26 deletions api/common/db.go

This file was deleted.

Loading

0 comments on commit d9a1bd9

Please sign in to comment.