Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jake-schuler/guestbook-api

A GuestBook API for the Hack Club RASPAPI YSWS
https://github.com/jake-schuler/guestbook-api

api golang guestbook hackclub html

Last synced: 7 days ago
JSON representation

A GuestBook API for the Hack Club RASPAPI YSWS

Awesome Lists containing this project

README

        

# Guestbook API

This is a simple API for a guestbook application. It uses SQLite as a database and Gorm as an ORM. The API is written in Go and uses the Echo web framework.

## Endpoints

### GET /messages

Returns all messages in the database.

### GET /totalMessages

Returns the total number of messages in the database.

### POST /newMessage

Creates a new message in the database.

### GET /uptime

Returns the uptime of the server since it started.

### Static Assets

Static files are served from the `assets` directory.