https://github.com/mlondimchunu/snippetbox
This application lets people paste and share snippets of text — a bit like Pastebin or GitHub’s Gists.
https://github.com/mlondimchunu/snippetbox
aiven-cloud golang javascript mysql
Last synced: 11 months ago
JSON representation
This application lets people paste and share snippets of text — a bit like Pastebin or GitHub’s Gists.
- Host: GitHub
- URL: https://github.com/mlondimchunu/snippetbox
- Owner: MlondiMchunu
- Created: 2025-06-03T09:33:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-12T23:23:46.000Z (11 months ago)
- Last Synced: 2025-07-13T01:14:55.238Z (11 months ago)
- Topics: aiven-cloud, golang, javascript, mysql
- Language: Go
- Homepage:
- Size: 3.41 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## snippetbox
##### this application lets people paste and share snippets of text and code — a bit like Pastebin or GitHub’s Gists. It uses a manged MySQL database hosted on Aiven
#### To run the app:
1. Clone the project to your local machine:
git clone https://www.github.com/MlondiMchunu/snippetbox.git
2. Run the app:
go run ./cmd/web
### API endpoints:
1. Create a Snippet:
POST http://localhost:7000/snippet/create
2. View One Snippet:
GET http://localhost:7000/snippet/view?id=3
🛠 🚧 under construction 😐