Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.08 KB

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