Skip to content

Instantly share code, notes, and snippets.

View chinhnguyen's full-sized avatar
😎
Actively looking for remote contract work

Chinh Nguyen chinhnguyen

😎
Actively looking for remote contract work
View GitHub Profile
@chinhnguyen
chinhnguyen / api.ts
Created May 22, 2023 07:52
Ample Restful API example
interface Academic {
firstName: string
lastName: string
avatar: string
university: string
}
interface Question {
content: string
createdAt: Date
@chinhnguyen
chinhnguyen / index.js
Created April 2, 2025 08:43
Couchbase setLogger
const couchbase = require("couchbase");
couchbase.logger.setLogger((level, message) => {
console.error(`${level}: ${message}`);
});