Skip to content

Instantly share code, notes, and snippets.

View potikanond's full-sized avatar

D. Potikanond potikanond

  • Computer Engineering, CMU
  • Thailand
View GitHub Profile
@potikanond
potikanond / README.md
Last active October 18, 2025 14:33
Lecture 20 - Full-Stack Web Application (Part 2)

Lecture 20 - Full-Stack Web Application (Part 2)

Content

  • What is Database?
  • SQL vs. NoSQL
  • MongoDB Atlas
  • Prisma ORM
  • File Uploading
@potikanond
potikanond / README.md
Last active October 18, 2025 08:17
Lecture 19 - Full-Stack Web Application (Part 1)

Lecture 19 - Full-Stack Web Application (Part 1)

Content

  • Starter Repositories
  • Cross-Origin Resource Sharing (CORS)
  • Reverse Proxy
  • Password encryption using Bcrypt

@potikanond
potikanond / package.json
Created October 2, 2025 03:12
Quiz #3 - package.json
{
"name": "lecture16",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "npx nodemon --exec tsx src/index.ts",
"build": "npx tsc",
"serve": "node dist/index.js"
},
@potikanond
potikanond / README.md
Last active September 26, 2025 02:11
26x494 : K6 Load Testing Tutorial

Full Stack Dev: K6 Load Testing Tutorial

Setup K6

Install K6 for Windows

  • Winget: winget install k6
  • Download from official website k6.io

@potikanond
potikanond / README.md
Last active September 22, 2025 03:19
Lecture 17 - RESTful API with Express (Part 2)
@potikanond
potikanond / .gitignore
Created September 19, 2025 04:36
Node .gitignore for Node.js App
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@potikanond
potikanond / tsconfig.json
Last active September 21, 2025 07:05
TSConfig for Node.js Application
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
@potikanond
potikanond / README.md
Last active September 19, 2025 04:49
26x494 : Express+Redis Tutorial

Full Stack Dev: Express + Redis Tutorial

Create Simple API with Express Framework

Create an Express project with dependeicies

// create project folder
mkdir redislab
cd redislab
@potikanond
potikanond / README.md
Last active October 1, 2025 09:27
Lecture 16 - RESTful API with Express (Part 1)

Lecture 16 - RESTful API (Part 1)

Get an API Testing tool

Please download Insomnia app an install in your PC. This a tool for testing your API.


@potikanond
potikanond / babel.config.cjs
Last active August 13, 2025 10:16
If you have problem with "babel.config.js", use the "babel.config.cjs" instead. Only use one of them.
module.exports = {
presets: [
["@babel/preset-env", { targets: { node: "current" } }],
"@babel/preset-typescript",
],
};