- Use the Rust 2018 edition.
- Follow the Rust coding style guidelines as outlined in the Rust documentation.
- Use snake_case for variable and function names.
- Use CamelCase for type names.
- Use ALL_CAPS for constants.
- Use the latest stable version of Rust.
- Use the Cargo package manager to manage dependencies.
- Only include dependencies that are necessary for the backend. Avoid adding unnecessary dependencies to keep the backend lightweight.
- Write unit tests for all backend code using the Rust testing framework.
- Write integration tests for any backend functionality that interacts with external services or systems.
- Follow the TypeScript guidelines for writing TypeScript code.
- Use camelCase for variable and function names.
- Use PascalCase for type names.
- Use ALL_CAPS for constants.
- Use the latest stable version of React.
- Use the npm package manager to manage dependencies.
- Only include dependencies that are necessary for the frontend. Avoid adding unnecessary dependencies to keep the frontend lightweight.
- Write unit tests for all frontend code using a testing library such as Jest or React Testing Library.
- Write integration tests for any frontend functionality that interacts with the backend or external services or systems.