Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

AJarombek/go-python-sqlite-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-python-sqlite-api-example

Maintained Label Deprecated Label Archived Label

Code Migrated to andy-jarombek-research

Overview

Basic example API that uses Python & Go to read from a SQLite database and return a JSON response.

Commands

Python API

# Set your desired port
PORT=5001

# Start the API
cd python
PORT=$PORT docker-compose up
# Query the API

curl localhost:$PORT/employees

Go API

# Set your desired port
PORT=5002

# Start the API
cd go
PORT=$PORT docker-compose up
# Query the API

curl localhost:$PORT/employees

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors