Skip to content

1995parham-teaching/record-appender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Read the log file and append records to PostgreSQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages