🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/sqd8642/go-gallery-hub

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/sqd8642/go-gallery-hub

Source
Go
Version
v0.0.0-20240309061812-a56f83c4feec
Version published
Created
Source

Overview

Go App Dev 2024 Spring semseter course project. Image gallery application built with Go programming language. It offers a set of endpoints to manage images, galleries. Below are the supported operations

Create Image: POST /images
Get Image by ID: GET /images/:id
Update Image: PUT /images/:id
Delete Image: DELETE images/:id

Database structure

Table galleries {
  id bigserial [primary key]
  created_at timestamp
  updated_at timestamp
  title text
  description text
}

Table images {
  id bigserial [primary key]
  created_at timestamp
  updated_at timestamp
  url text
  caption text
}

Table galleries_and_images {
  id bigserial [primary key]
  created_at timestamp
  updated_at timestamp
  gallery bigserial
  image bigserial
}

Ref: galleries_and_images.restaurant < galleries.id
Ref: galleries_and_images.menu < image.id

FAQs

Package last updated on 09 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts