Categorygithub.com/1995parham-teaching/record-appender
modulepackage
0.0.0-20231219070316-50627bb02026
Repository: https://github.com/1995parham-teaching/record-appender.git
Documentation: pkg.go.dev

# README

Record Appender

Append in Bulk, then Serve

GitHub Workflow Status GitHub

Introduction

This project wants to bulk insert records into the database and then provide an interface for fetching them. The idea is coming from an interview question which wants you to use database, knowing about bulk insert and also writing HTTP endpoints.

Actually written by Elahe Dastan at Spring 2020.

How to run?

First you need to build the project:

go build

Then you need to do the migration:

./record-appender migrate

After that you can insert the data as bulk:

./record-appender setup

At the end you can serve the requests:

./record-appender serve