diff --git a/src/tic-tac-toe/README.md b/src/tic-tac-toe/README.md new file mode 100644 index 0000000..bdf6589 --- /dev/null +++ b/src/tic-tac-toe/README.md @@ -0,0 +1,6 @@ +# Anatomy of a microservice + +# Backend + +# Frontend + diff --git a/src/tic-tac-toe/package.json b/src/tic-tac-toe/package.json new file mode 100644 index 0000000..2ae85bd --- /dev/null +++ b/src/tic-tac-toe/package.json @@ -0,0 +1,17 @@ +{ + "name": "tic-tac-toe", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "start": "npm run build && node dist/run.js", + "build": "vite build", + "build:prod": "vite build --outDir=/dist --minify=true --sourcemap=false", + "build:openapi": "VITE_ENTRYPOINT=src/openapi.ts vite build && node dist/openapi.cjs >openapi.json", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "packageManager": "pnpm@10.24.0" +} diff --git a/src/tic-tac-toe/tsconfig.json b/src/tic-tac-toe/tsconfig.json new file mode 100644 index 0000000..cd65905 --- /dev/null +++ b/src/tic-tac-toe/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "../tsconfig.base.json", + "compilerOptions": {}, + "include": ["src/**/*.ts"] +} \ No newline at end of file