https://github.com/asynched/gist-backend
An API for saving and retrieving code snippets (gists) from a database.
https://github.com/asynched/gist-backend
fiber gist go sqlite
Last synced: 2 months ago
JSON representation
An API for saving and retrieving code snippets (gists) from a database.
- Host: GitHub
- URL: https://github.com/asynched/gist-backend
- Owner: asynched
- Created: 2023-08-27T23:50:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T04:46:10.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T01:29:44.968Z (over 1 year ago)
- Topics: fiber, gist, go, sqlite
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gist-backend
An API for saving and retrieving code snippets (gists) from a database.
## Requirements
- Go 1.21
## Installation
1. Clone the repository
2. Initialize the database with `cat sql/create.sql | sqlite3 dev.sqlite3`
3. Run `go run cmd/api.go`