This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Users table | |
CREATE TABLE users ( | |
id SERIAL PRIMARY KEY, | |
username VARCHAR(50) NOT NULL, | |
email VARCHAR(100) UNIQUE NOT NULL, | |
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP | |
); | |
CREATE INDEX idx_users_username ON users(username); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Sample API", | |
"version": "1.0.0" | |
}, | |
"paths": { | |
"/users": { | |
"get": { | |
"summary": "List all users", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.5' | |
volumes: | |
cassandra: | |
driver: local | |
services: | |
cassandra: | |
container_name: go_microservice_api-cassandra | |
image: cassandra:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* LightweightLightbox.js v1.0.0 | |
* https://github.com/Silver89/jQuery-lightweightLightbox | |
* | |
* Copyright 2016, Dan Thorpe | |
* This content is released under the MIT license | |
* http://en.wikipedia.org/wiki/MIT_License | |
*/ | |
(function($){ |