wancat 95fc25d0ad feat: connect to different container by sessions
Based on the file summaries provided, the best label for this commit would be "feat". This is because the commit introduces several new features to the codebase, such as adding a new ESLint rule, adding a new property to a function, adding authentication middleware, adding a query parameter, and adding a new function to handle user authentication.: update authentication and session handling

- Add `"camelcase"` rule to ESLint configuration
- Add `containerId` property to the `newSession` object in the `createSession` function
- Add authentication middleware to the socket.io connection
- Add a query parameter `session_id` to the socket.io connection in `client.js`
- Add `defaultUser` function to handle user authentication
- Update the `authMiddleware` function to use the `defaultUser` function
- Add `defaultUser` function to handle user authentication in `auth.js`
- Update `getOrCreateContainer` function to use the `id` parameter instead of `name` parameter
2023-07-24 12:21:05 +08:00
2023-07-21 11:59:11 +08:00
2023-07-15 15:30:42 +08:00
2023-07-19 15:30:36 +08:00
2023-07-20 17:05:01 +08:00
2023-07-21 11:27:01 +08:00
2023-07-21 11:27:01 +08:00
2023-07-20 17:05:01 +08:00
2023-07-20 17:05:01 +08:00
2023-07-19 20:01:14 +08:00

Linux Odyssey

Requirements

  • NodeJS
  • Docker
  • Yarn

Installation

git clone https://github.com/lancatlin/linux-odyssey.git
cd linux-odyssey
yarn install

Create database

docker compose up -d

Server

Source: server/

yarn server
# Open http://localhost:3000

App

Source: app/

yarn app
# Open http://localhost:5173/

CLI terminal client

Open server first, then

yarn cli
S
Description
No description provided
Readme GPL-3.0
8.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 64%
Vue 24.2%
Go 4.2%
Shell 2.1%
Handlebars 2.1%
Other 3.3%