Source code for trevor-edris.io

about-me - Source code for trevor-edris.io

Go Report Card Test License: MIT GoT

A large majority of the base code for this project has been adapted from https://github.com/mikestefanello/pagoda. Many thanks to mikestefanello for a great template repository.

Developing

Use make dev to bring up the application with "Live reloading" enabled (via cosmtrek/air). This will detect changes to files and automatically restart the application.

Included in the docker-compose.dev.yml is an SMTP server (via maildev) that allows for the SMTP functionality to be tested locally. To view the mail server, visit http://localhost1080 in a browser.

Deploying

Local

Requirements

  • Go 1.17
  • Bash (tested with 5.0.17, though 3.x+ should work)
  • Blackbox

make deploy_local

This command will deploy the project to the local environment, using go run cmd/api/main.go under the hood. The first step will be to decrypt the secrets/config.env.gpg file, which can only be done if your GPG key is listed in .blackbox/blackbox-admins.txt and has been used to encrypt the .gpg file itself.

The intention behind this is to allow for the secure storage of sensitive information necessary for the functionality of the project in various deployment environments.

❯ make deploy_local
========== Importing keychain: START
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
========== Importing keychain: DONE
========== Decrypting new/changed files: START
========== Decrypting new/changed files: DONE

   ____    __
  / __/___/ /  ___
 / _// __/ _ \/ _ \
/___/\__/_//_/\___/ v4.6.1
High performance, minimalist Go web framework
https://echo.labstack.com
____________________________________O/_______
                                    O\
⇨ http server started on [::]:8000

Once the server is running, visit http://localhost:8000 in your browser.

AWS Lambda

Planned future work

Kubernetes

Planned future work

Similar Resources

Fetch input data for Advent of Code challenges.

Import the inputs for Advent of Code challenges straight into your code. Fetched data is cached by default. Usage Log into Advent of Code from your br

Oct 12, 2022

An unofficial package in Golang to help developers implement ZATCA (Fatoora) QR code easily.

Zatca SDK GO An unofficial package in Golang to help developers to implement ZATCA (Fatoora) QR code easily which required for e-invoicing ✅ The hash

Jan 1, 2023

Us-api: a simple service that returns the US state code based on the state

us-api us-api is a simple service that returns the US state code based on the state. It does not support creating, updating nor deleting data. Local D

Dec 13, 2021

Example code to demonstrate how to mock external clients via context.Context

Mocking external client libraries using context.Context This code is paired with a blog post: Mocking external client libraries using context.Context

Nov 6, 2022

This repository will have code implemented for the 100 days of golang.

golang_100 This repository will have code implemented for the 100 days of golang. The resources I will use to do this 100 days golang programming are:

Jan 10, 2022

A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling

A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling

Introduction ygot (YANG Go Tools) is a collection of Go utilities that can be used to: Generate a set of Go structures and enumerated values for a set

Jan 8, 2023

Bitfield - A collection of code samples, listings, and solutions to challenges from the book For the Love of Go

Bitfield - A collection of code samples, listings, and solutions to challenges from the book For the Love of Go

For the Love of Go - code listings This is a collection of code samples, listing

Jan 10, 2022

Sion code for review.

Sion Sion is an elastic, high-performance, cost-effective cloud storage that is built atop ephemeral cloud funtions. Prepare EC2 Proxy Amazon EC2 AMI:

Dec 5, 2022

Cleanv - Golang SDK for Vue Projects. It is able to structure a clean code/arch pattern

Cleanv - Golang SDK for Vue Projects.  It is able to structure a clean code/arch pattern

Cleanv - Golang SDK for Vue Projects Why? This project is part of my personal portfolio, so, I'll be happy if you could provide me any feedback about

Apr 24, 2022
Comments
  • Add script to do local deployment

    Add script to do local deployment

    Notes

    • deploy/local/deploy only does go run main.go until the project is built with Docker
    • deploy/(kube|lambda)/deploy are placeholders for later work
Go(lang) client library for Cachet (open source status page system).

cachet Go(lang) client library for Cachet (open source status page system). Features Full API support Components Incidents Metrics Subscribers Various

Sep 27, 2022
Go library for querying Source servers

go-steam go-steam is a Go library for querying Source servers. Requirements Go 1.1 or above Installation go get -u github.com/sostronk/go-steam To us

Oct 28, 2022
DiscSpam is the best free and open source tool to spam/raid Discord servers.
DiscSpam is the best free and open source tool to spam/raid Discord servers.

DiscSpam Fast, Free, Easy to use Discord.com raid tool Report Bug , Request Feature About The Project There are a few Discord raid tools on GitHub, ho

Dec 27, 2022
This is the new api repository for Feel the Movies. Written in Go, totally open source.
This is the new api repository for Feel the Movies. Written in Go, totally open source.

This is the new API repository for Feel the Movies. Written in Go, totally open source. App Currently available for Android only. I have plans for an

Sep 18, 2022
Pre-constructed source for CDKTF AWS Golang

cdktf-provider-aws-go Terraform CDK aws Provider v3.64.2 go get github.com/hortau/cdktf-provider-aws-go Example: package main import ( "github.com/

Nov 27, 2021
🐥 Sturdy is an open-source, real-time, version control platform for startups
🐥 Sturdy is an open-source, real-time, version control platform for startups

Welcome to Sturdy! ?? ?? Real-time code collaboration. Sturdy is an open-source version control platform that allows you to interact with your code at

Dec 24, 2022
"there" also called "GoThere" aims to be a simple Go Library to reduce redundant code for REST APIs.

there "there" also called "GoThere" aims to be a simple Go Library to reduce redundant code for REST APIs. Despite the existence of the other librarie

Dec 25, 2022
A compute service that lets you run code without provisioning or managing servers

AWS Lambda for Go Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availab

Oct 13, 2021
Pulumi - Modern Infrastructure as Code. Any cloud, any language 🚀
Pulumi - Modern Infrastructure as Code. Any cloud, any language 🚀

Pulumi's Infrastructure as Code SDK is the easiest way to create and deploy cloud software that use containers, serverless functions, hosted services,

Dec 30, 2022
Go client library for efficient postal code lookup (powered by GeoNames)

go-poco Client library for efficient postal code lookup (powered by GeoNames) Installation go-poco may be installed using the go get command: go get g

Dec 23, 2021