├── .gitignore ├── LICENSE ├── README.md ├── README.tw.md ├── backend ├── .env.development ├── .env.example ├── .env.production ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierignore ├── .prettierrc ├── README.md ├── package-lock.json ├── package.json ├── pnpm-lock.yaml ├── src │ ├── app.ts │ ├── config.ts │ ├── core │ │ ├── ApiError.ts │ │ ├── ApiResponse.ts │ │ └── Logger.ts │ └── server.ts └── tsconfig.json └── frontend ├── .env.development ├── .env.production ├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── chatroom.png └── powered-by-vercel.svg ├── src ├── app │ ├── emotion.tsx │ ├── favicon.ico │ ├── globals.css │ ├── home │ │ └── page.tsx │ ├── layout.tsx │ ├── page.tsx │ └── provide.tsx ├── components │ ├── Avatar.tsx │ ├── ChatroomInput.tsx │ ├── ChatroomTitle.tsx │ └── NameModal.tsx ├── config │ └── index.ts ├── pages │ └── api │ │ └── socket │ │ └── socketio.ts ├── store │ ├── basic.ts │ └── socket.ts └── types │ └── next.ts ├── tailwind.config.js └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | /**/node_modules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/README.md -------------------------------------------------------------------------------- /README.tw.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/README.tw.md -------------------------------------------------------------------------------- /backend/.env.development: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.env.development -------------------------------------------------------------------------------- /backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.env.example -------------------------------------------------------------------------------- /backend/.env.production: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.env.production -------------------------------------------------------------------------------- /backend/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.eslintignore -------------------------------------------------------------------------------- /backend/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.eslintrc -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.prettierignore -------------------------------------------------------------------------------- /backend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/.prettierrc -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- 1 | # Socket.io Node.js Backend Typescript Project -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/pnpm-lock.yaml -------------------------------------------------------------------------------- /backend/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/src/app.ts -------------------------------------------------------------------------------- /backend/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/src/config.ts -------------------------------------------------------------------------------- /backend/src/core/ApiError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/src/core/ApiError.ts -------------------------------------------------------------------------------- /backend/src/core/ApiResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/src/core/ApiResponse.ts -------------------------------------------------------------------------------- /backend/src/core/Logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/src/core/Logger.ts -------------------------------------------------------------------------------- /backend/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/src/server.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /frontend/.env.development: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_SOCKET_URL=/ -------------------------------------------------------------------------------- /frontend/.env.production: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/.env.production -------------------------------------------------------------------------------- /frontend/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/next.config.js -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/pnpm-lock.yaml -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/public/chatroom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/public/chatroom.png -------------------------------------------------------------------------------- /frontend/public/powered-by-vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/public/powered-by-vercel.svg -------------------------------------------------------------------------------- /frontend/src/app/emotion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/emotion.tsx -------------------------------------------------------------------------------- /frontend/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/favicon.ico -------------------------------------------------------------------------------- /frontend/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/globals.css -------------------------------------------------------------------------------- /frontend/src/app/home/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/home/page.tsx -------------------------------------------------------------------------------- /frontend/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/layout.tsx -------------------------------------------------------------------------------- /frontend/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/page.tsx -------------------------------------------------------------------------------- /frontend/src/app/provide.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/app/provide.tsx -------------------------------------------------------------------------------- /frontend/src/components/Avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/components/Avatar.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatroomInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/components/ChatroomInput.tsx -------------------------------------------------------------------------------- /frontend/src/components/ChatroomTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/components/ChatroomTitle.tsx -------------------------------------------------------------------------------- /frontend/src/components/NameModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/components/NameModal.tsx -------------------------------------------------------------------------------- /frontend/src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/config/index.ts -------------------------------------------------------------------------------- /frontend/src/pages/api/socket/socketio.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/pages/api/socket/socketio.ts -------------------------------------------------------------------------------- /frontend/src/store/basic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/store/basic.ts -------------------------------------------------------------------------------- /frontend/src/store/socket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/store/socket.ts -------------------------------------------------------------------------------- /frontend/src/types/next.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/src/types/next.ts -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttpss930141011/nextjs-13-socketio-template/HEAD/frontend/tsconfig.json --------------------------------------------------------------------------------