• Stars
    star
    574
  • Rank 77,739 (Top 2 %)
  • Language
    Go
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

golang interview prep

Goal of this repo.

This repo contains Golang code that does not follow best practises, contains bugs and security issues. It is intended to be used as an interview exercise or a practise exercise for jr/mid-level Go engineers.

This repo contains, technically, a functional golang application that receives a request to create a user and stores it into a postgres Database.

As an exercise, you could try identifying and correcting some of the issues in this repo. This would work particularly well as a pair programming exercise.

Getting Started

You can get the database started by running docker-compose up

Once running the Go app, you can make a CURL request as follows:

 curl -X POST -H "Content-Type: application/json" -d '{"username":"john", "password":"secret"}' http://localhost:8080/user

More Repositories

1

custom-shortlinks-cloudflare-worker

Deploy a custom short linking service to Cloudflare Workers in just a few minutes.
JavaScript
20
star
2

uptime-gobot

Inspired by https://uptimerobot.com/, uptimeGobot is a little program that will monitor as many URLs as you like and report to Slack if they are down.
Go
17
star
3

logging-module

Go
17
star
4

go-panic-catch

go-panic-catch is a simple middleware for golang web servers that recovers from panics and enables you to handle panics gracefully.
Go
15
star
5

catserver

Server with one endpoint / that returns a random cat fact and image everytime.
Go
3
star
6

ultimate-debugging-course-debug-module

Go
3
star
7

adventOfCode2021

My Solutions to Advent of Code in Golang
Go
2
star
8

ultimate-guide-to-debugging-flight-recording

Go
2
star
9

go-mocking-example

Exploring different ways of mocking in golang, using multiple libraries
Go
2
star
10

what-you-sayin

reddit bot to asyncronosuly search multiple subreddits for phrases of interest
Go
1
star
11

fullStackDemoApp

This app demonstrates how to create a full stack app using Netflix Style micro services in Java Spring Boot that are linked, and a front end application built using AngularJS using the seed App as a base refactored for John Papa's style guide.
Shell
1
star
12

whattowearbot

Go
1
star
13

jsonifyDir

Go
1
star
14

ultimate-debugging-with-go-metrics

Go
1
star
15

basic-go-actions

basic github actions for a go project
Dockerfile
1
star
16

ultimate-debugging-with-go-tracing

Go
1
star
17

prepaidcard

example of building multiple springboot micro services with an API gateway, service discovery and circuit breaking
Java
1
star
18

gophercon-2024

Go
1
star