-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Francois edited this page Jan 8, 2026
·
12 revisions
ft_transcendence project gives the opportunity to make a custom project, by picking from a range of modules. We try to document here the concepts and lessons learned.
-
Solidity for Blockchain module
-
Embedded Database with Sqlite3
-
Schema Validation with Zod
-
Bundling with Vite
Most services share a common layered architecture, consisting of
.
├── src
│ ├── controllers
│ ├── services
│ ├── data (optional)
│ ├── routes
│ ├── types
│ ├── config (optional)
│ └── utils
├── test
├── package.json
├── tsconfig.json
└── DockerfileError management and logging strategies vary by service. However, some common approaches are being implemented to facilitate code readability and app observability.
Common risks we are addressing are related to
- cross-site scripting (XSS)
- SQL injection
- vulnerable dependencies
- authentication
- Static analysis options are defined in
tsconfig.json(see TypeScript). - ESLint offers analysis tools.
- Prettier helps harmonize formatting.
- Unit testing with Vitest
- we tried to build and document using the Restful API standard
- cf diagram on Api Documentation
- cf Swagger automated doc on localhost
- We considered Accessibility while developing frontend, although not aiming at 100% compliance with WCAG
- Nginx configuration
- Avalanche
- Hardhat
- Solidity
- securing with Open Zeppelin