Source: https://seerepo.com/r/midwayjs/midway/built
Markdown source: https://seerepo.com/r/midwayjs/midway/built.md
Description: midway is a TypeScript repo built with @apollo/server, Koa, egg, Next.js, React, and 6 more. It stores its data in MongoDB.

# What is midway built with?

midway is a TypeScript repo built with @apollo/server, Koa, egg, Next.js, React, and 6 more. It stores its data in MongoDB, reaches it with TypeORM, leoric, mikro-orm, sequelize-typescript, and @typegoose/typegoose, signs people in with casbin, express-session, cookie-session, jsonwebtoken, and csrf, makes its content with escape-html, EJS, xss, and Nunjucks, validates its data with joi, class-transformer, and zod-validation-error, is tested with mm, nock, Zod, cache-manager, sinon, and 10 more, runs in production with prom-client, and uses bull, bullmq, lru-cache, Redis, cos-nodejs-sdk-v5, and 6 more. It has 180,907 written lines, with 1,742 test files.

Read on November 18, 2026, at commit a8d32ca.

Repository: https://github.com/midwayjs/midway

## Support (packages-serverless/midway-fc-starter)

### Other

- **raw-body**: 1 file

## Support (packages-serverless/serverless-http-parser)

### Content

- **[escape-html](https://seerepo.com/uses/escape-html)**: 1 file

### Testing

- **mm**: 1 file

### Other

- **type-is**: 3 files
- **accepts**: 1 file
- **cache-content-type**: 1 file
- **encodeurl**: 1 file
- **http-errors**: 1 file
- **parseurl**: 1 file
- **statuses**: 1 file
- **vary**: 1 file

## Support (packages/apollo)

### The base

- **[@apollo/server](https://seerepo.com/uses/apollo-server)**: 1 file

### Tools

- **@graphql-tools/schema**: 1 file

### Other

- **GraphQL**: 1 file
- **graphql-ws**: 1 file
- **ws**: 1 file

## Support (packages/axios)

### Testing

- **nock**: 2 files

### Other

- **Axios**: 4 files

## Support (packages/bootstrap)

### Other

- **request**: 3 files
- **socket.io-client**: 1 file

## Support (packages/bull-board)

### Content

- **[EJS](https://seerepo.com/uses/ejs)**: 1 file

### Other

- **@bull-board/api**: 4 files

## Backend (packages/bull)

### Data

- **bull**: 3 files

## Backend (packages/bullmq)

### Data

- **[bullmq](https://seerepo.com/uses/bullmq)**: 4 files

## Support (packages/busboy)

### Testing

- **[Zod](https://seerepo.com/uses/zod)**: 1 file

### Other

- **busboy**: 2 files
- **fs-extra**: 1 file

## Backend (packages/cache-manager)

### Data

- **[lru-cache](https://seerepo.com/uses/lru-cache)**: 2 files

## Support (packages/cache-manager)

### Testing

- **cache-manager**: 1 file

### Other

- **Lodash**: 1 file

## Frontend (packages/captcha)

### Styles

- **mini-svg-data-uri**: 1 file

## Support (packages/captcha)

### Other

- **nanoid**: 1 file

## Backend (packages/casbin-redis-adapter)

### Data

- **[Redis](https://seerepo.com/uses/redis)**: 1 file · [packages/redis/src/index.ts, line 1](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/redis/src/index.ts#L1)

### Sign-in

- **casbin**: 1 file

## Backend (packages/casbin-typeorm-adapter)

### Data access

- **[TypeORM](https://seerepo.com/uses/typeorm)**: 3 files

## Support (packages/casbin-typeorm-adapter)

### Testing

- **casbin**: 1 file

## Backend (packages/casbin)

### Sign-in

- **casbin**: 4 files

## Frontend (packages/commander)

### Interface

- **[enquirer](https://seerepo.com/uses/enquirer)**: 1 file

## Support (packages/commander)

### Tools

- **commander**: 2 files

## Support (packages/consul)

### Other

- **ms**: 1 file

## Backend (packages/core)

### The base

- **[Koa](https://seerepo.com/uses/koa)**: 1 file · [in packages/web-koa/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/web-koa/package.json)

## Support (packages/core)

### The base

- **egg**: 1 file

### Testing

- **mm**: 3 files
- **sinon**: 3 files

### Tools

- **TypeScript**: 1 file

### Other

- **eventsource**: 1 file
- **is-type-of**: 1 file
- **[OpenTelemetry](https://seerepo.com/uses/opentelemetry)**: 1 file
- **picomatch**: 1 file
- **raw-body**: 1 file
- **reflect-metadata**: 1 file

## Backend (packages/cos)

### Data

- **cos-nodejs-sdk-v5**: 1 file

## Support (packages/cos)

### Other

- **.ENV**: 1 file

## Support (packages/cron)

### Other

- **cron**: 2 files

## Support (packages/cross-domain)

### Other

- **vary**: 1 file

## Backend (packages/etcd)

### Data

- **etcd3**: 3 files

## Support (packages/event-emitter)

### Other

- **eventemitter2**: 2 files

## Backend (packages/express-session)

### Sign-in

- **[express-session](https://seerepo.com/uses/express-session)**: 2 files
- **cookie-session**: 1 file

## Support (packages/express-session)

### Testing

- **memorystore**: 1 file

## Support (packages/faas)

### Testing

- **mm**: 1 file

## Support (packages/grpc)

### Other

- **grpc**: 10 files

## Support (packages/http-proxy)

### Testing

- **nock**: 4 files

### Other

- **Axios**: 1 file

## Support (packages/i18n)

### Other

- **picomatch**: 1 file

## Support (packages/info)

### Other

- **picomatch**: 1 file

## Backend (packages/jwt)

### Sign-in

- **[jsonwebtoken](https://seerepo.com/uses/jsonwebtoken)**: 3 files

## Backend (packages/kafka)

### Services

- **[Kafka](https://seerepo.com/uses/kafka)**: 5 files · [packages/kafka/src/interface.ts, line 22](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/kafka/src/interface.ts#L22)

## Backend (packages/leoric)

### Data access

- **leoric**: 3 files

## Backend (packages/mcp)

### Services

- **[MCP](https://seerepo.com/uses/mcp)**: 4 files · [packages/mcp/src/decorator.ts, line 8](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/mcp/src/decorator.ts#L8)

## Support (packages/mcp)

### Validation

- **[Zod](https://seerepo.com/uses/zod)**: 1 file

## Backend (packages/mikro)

### Data access

- **mikro-orm**: 4 files

## Backend (packages/mikro7)

### Data access

- **mikro-orm**: 4 files

## Backend (packages/mongoose)

### Data

- **[MongoDB](https://seerepo.com/uses/mongodb)**: 2 files · [packages/mongoose/src/manager.ts, line 14](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/mongoose/src/manager.ts#L14)

## Support (packages/mqtt)

### Other

- **mqtt**: 4 files

## Frontend (packages/nextjs)

### The base

- **[Next.js](https://seerepo.com/uses/nextjs)**: 2 files

## Backend (packages/oss)

### Data

- **ali-oss**: 2 files

## Support (packages/oss)

### Other

- **.ENV**: 2 files

## Support (packages/passport)

### Testing

- **[passport-local](https://seerepo.com/uses/passport-local)**: 6 files
- **[passport-jwt](https://seerepo.com/uses/passport-jwt)**: 3 files
- **passport-http-bearer**: 1 file
- **passport-openidconnect**: 1 file

### Other

- **after**: 1 file

## Support (packages/piscina)

### Tools

- **ts-node**: 1 file

### Other

- **piscina**: 2 files

## Support (packages/processAgent)

### Other

- **request**: 1 file

## Support (packages/prometheus-socket-io)

### The base

- **egg**: 3 files

## Support (packages/prometheus)

### Deploy

- **[prom-client](https://seerepo.com/uses/prom-client)**: 3 files

### Other

- **request**: 1 file

## Backend (packages/rabbitmq)

### Data

- **amqplib**: 3 files
- **amqp-connection-manager**: 1 file

## Frontend (packages/react)

### The base

- **[React](https://seerepo.com/uses/react)**: 1 file · [in tutorial/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/tutorial/package.json)

## Backend (packages/redis)

### Data

- **[Redis](https://seerepo.com/uses/redis)**: 4 files · [packages/redis/src/index.ts, line 1](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/redis/src/index.ts#L1)

## Backend (packages/security)

### Sign-in

- **csrf**: 1 file

## Support (packages/security)

### Content

- **[escape-html](https://seerepo.com/uses/escape-html)**: 1 file
- **[xss](https://seerepo.com/uses/xss)**: 1 file

### Other

- **fs-extra**: 8 files
- **nanoid**: 1 file
- **picomatch**: 1 file
- **platform**: 1 file

## Backend (packages/sequelize)

### Data access

- **sequelize-typescript**: 4 files

## Support (packages/socketio)

### Other

- **Socket.io**: 2 files

## Support (packages/static-file)

### The base

- **koa-range**: 1 file

### Other

- **ylru**: 1 file

## Support (packages/swagger)

### Testing

- **@apidevtools/swagger-parser**: 1 file

## Backend (packages/typegoose)

### Data

- **[MongoDB](https://seerepo.com/uses/mongodb)**: 1 file · [packages/mongoose/src/manager.ts, line 14](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/mongoose/src/manager.ts#L14)

### Data access

- **@typegoose/typegoose**: 1 file

## Backend (packages/typeorm)

### Data access

- **[TypeORM](https://seerepo.com/uses/typeorm)**: 6 files

## Support (packages/typeorm)

### Tools

- **TypeScript**: 1 file

## Support (packages/upload)

### Other

- **raw-body**: 1 file

## Support (packages/validate)

### Validation

- **[joi](https://seerepo.com/uses/joi)**: 5 files

## Support (packages/validation-class-validator)

### Validation

- **[class-transformer](https://seerepo.com/uses/class-transformer)**: 1 file

### Testing

- **[class-validator](https://seerepo.com/uses/class-validator)**: 1 file

## Support (packages/validation-joi)

### Validation

- **[joi](https://seerepo.com/uses/joi)**: 1 file

## Support (packages/validation-zod)

### Validation

- **[Zod](https://seerepo.com/uses/zod)**: 1 file
- **[zod-validation-error](https://seerepo.com/uses/zod-validation-error)**: 1 file

### Other

- **i18next**: 1 file

## Support (packages/validation-zod4)

### Validation

- **[Zod](https://seerepo.com/uses/zod)**: 1 file
- **[zod-validation-error](https://seerepo.com/uses/zod-validation-error)**: 1 file

### Other

- **i18next**: 1 file

## Support (packages/view-ejs)

### Content

- **[EJS](https://seerepo.com/uses/ejs)**: 1 file

## Support (packages/view-nunjucks)

### Content

- **[Nunjucks](https://seerepo.com/uses/nunjucks)**: 1 file

## Frontend (packages/vue)

### The base

- **[Vue](https://seerepo.com/uses/vue)**: 1 file

## Backend (packages/web-express)

### The base

- **[Express](https://seerepo.com/uses/express)**: 4 files · [in packages/web-express/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/web-express/package.json)

## Support (packages/web-express)

### Other

- **body-parser**: 2 files
- **cookie-parser**: 1 file

## Backend (packages/web-koa)

### The base

- **[Koa](https://seerepo.com/uses/koa)**: 2 files · [in packages/web-koa/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/web-koa/package.json)

## Support (packages/web-koa)

### The base

- **[@koa/router](https://seerepo.com/uses/koa-router)**: 1 file
- **koa-bodyparser**: 1 file

### Other

- **qs**: 2 files
- **Axios**: 1 file

## Frontend (packages/web)

### The base

- **[React](https://seerepo.com/uses/react)**: 3 files · [in tutorial/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/tutorial/package.json)

## Backend (packages/web)

### The base

- **[Koa](https://seerepo.com/uses/koa)**: 1 file · [in packages/web-koa/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/web-koa/package.json)

## Support (packages/web)

### The base

- **egg**: 4 files

### Testing

- **mm**: 3 files
- **egg-mock**: 2 files
- **egg-logger**: 1 file
- **supertest**: 1 file

### Tools

- **find-up**: 1 file
- **mkdirp**: 1 file

### Other

- **fs-extra**: 3 files
- **qs**: 2 files
- **dayjs**: 1 file
- **is-type-of**: 1 file

## Support (packages/ws)

### Other

- **ws**: 2 files

## Frontend (tutorial)

### The base

- **[Vite](https://seerepo.com/uses/vite)**: [in tutorial/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/tutorial/package.json)
- **[React](https://seerepo.com/uses/react)**: 11 files · [in tutorial/package.json](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/tutorial/package.json)

## Support (tutorial)

### Validation

- **[Zod](https://seerepo.com/uses/zod)**: 14 files
- **[joi](https://seerepo.com/uses/joi)**: 2 files

### Other

- **StackBlitz**: 1 file

## Other repos with a similar stack

- [strapi/strapi](https://seerepo.com/r/strapi/strapi/built): @apollo/server, Koa, MCP, React, koa-range, @koa/router, koa-bodyparser, Vite, jsonwebtoken, Zod · [Compare](https://seerepo.com/compare/midwayjs/midway/vs/strapi/strapi)
- [twentyhq/twenty](https://seerepo.com/r/twentyhq/twenty/built): bullmq, Redis, MCP, React, Vite, TypeORM, express-session, jsonwebtoken, Zod, class-transformer · [Compare](https://seerepo.com/compare/midwayjs/midway/vs/twentyhq/twenty)
- [LibreChat-AI/LibreChat](https://seerepo.com/r/LibreChat-AI/LibreChat/built): Redis, MCP, MongoDB, React, Express, Vite, express-session, jsonwebtoken, Zod, prom-client · [Compare](https://seerepo.com/compare/LibreChat-AI/LibreChat/vs/midwayjs/midway)
- [nocodb/nocodb](https://seerepo.com/r/nocodb/nocodb/built): bull, lru-cache, Redis, MCP, React, Vue, Express, jsonwebtoken, Zod · [Compare](https://seerepo.com/compare/midwayjs/midway/vs/nocodb/nocodb)
- [payloadcms/payload](https://seerepo.com/r/payloadcms/payload/built): Redis, MCP, MongoDB, Next.js, React, Vue, Vite, escape-html, Zod · [Compare](https://seerepo.com/compare/midwayjs/midway/vs/payloadcms/payload)
- [thedotmack/claude-mem](https://seerepo.com/r/thedotmack/claude-mem/built): bullmq, Redis, MCP, Next.js, React, Express, Vite, Zod · [Compare](https://seerepo.com/compare/midwayjs/midway/vs/thedotmack/claude-mem)

## Frequently asked questions

### What language is midway written in?

midway is written in TypeScript, with 180,907 written lines.

### What framework does midway use?

midway is built with @apollo/server, Koa, egg, Next.js, React, koa-range, Vue, Express, @koa/router, koa-bodyparser, and Vite.

### What database does midway use?

midway stores its data in MongoDB and reaches it with TypeORM, leoric, mikro-orm, sequelize-typescript, and @typegoose/typegoose.

The proof: [packages/mongoose/src/manager.ts, line 14](https://github.com/midwayjs/midway/blob/a8d32cac6160238b9137272398cbfd186cc1cffa/packages/mongoose/src/manager.ts#L14)

### What does midway sign people in with?

midway signs people in with casbin, express-session, cookie-session, jsonwebtoken, and csrf.

### What services does midway use?

midway uses bull, bullmq, lru-cache, Redis, cos-nodejs-sdk-v5, etcd3, Kafka, MCP, ali-oss, amqplib, and amqp-connection-manager.

### Does midway have tests?

Yes. midway has 1,742 test files and is tested with mm, nock, Zod, cache-manager, sinon, memorystore, passport-local, passport-jwt, passport-http-bearer, passport-openidconnect, @apidevtools/swagger-parser, class-validator, egg-mock, egg-logger, and supertest.

### Which repos have a stack like midway's?

The ones that share most of its stack: strapi/strapi, twentyhq/twenty, and LibreChat-AI/LibreChat.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
