- Communicate with me in Chinese
- My databases are mongodb and redis
- I have a command line tool written in rust that uses the clap library to parse command line arguments and the tokio library to handle asynchronous operations. The source code is in the apps/devx/src directory
- I have a back-end program written in rust, the framework uses actix-web, the database operation uses mongodb library and redis library, source code is in the apps/devx-server/src-rs directory
- I have a web front-end project written in typescript language, using react to develop ui components, using scss to write styles, component library using antd, source code in apps/devx-web/src directory
- I have a nodejs back-end project written in typescript language, the framework uses hono, the database operation uses mongoose library and ioredis library, source code is in the apps/devx-server/src directory
- The typescript project uses vitest as the test framework
-react component filenames use angular's consistent naming, using my-button.tsx instead of MyButton.tsx
-nodejs back-end file names use the same naming method as nestjs, user.dto.ts instead of UserDto.ts
-rust files use underscore naming and are named with my_module.rs instead of MyModule.rs
The interface response uses the format of type ApiResponse, including the following fields.
- code, must, number type
- data, not required, is of json type and can be passed in generically
- msg, optional. The value is a string
- errors, optional, array type of json or string
Use hono to create a background interface that supports get and post methods
Use hono to write the interface for the mongoose model of the current folder, the interface method uses post, the query interface supports page and page_size parameters to turn the page
Use react to create a function component, create a style module with the same name and a.module.scss suffix, and import the scss module into the component
Create or update mongoose's model using the following models and relationships. Includes the necessary fields, relationships, and any associated enumerations.
No Data configured
npx -y @executeautomation/playwright-mcp-server