๐Ÿ—ƒ๏ธProject Structure

The tree structure of project is shown below.

annotation-lab/
โ”œโ”€โ”€ client/
โ”‚   โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ””โ”€โ”€ ... (other React app files)
โ”œโ”€โ”€ server/
โ”‚   โ”œโ”€โ”€ db/
โ”‚   โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ app.py
โ”‚   โ”œโ”€โ”€ requirements.txt
โ”‚   โ””โ”€โ”€ ... (other Flask app files)
โ”œโ”€โ”€ README.md

Client

The client is a react application responsible for rendering UI. It contains following folders.

  • public/: Static files and the root HTML file.

  • src/: React components and other frontend code.

  • package.json: Contains client dependencies and scripts.

Server

The server is responsible for persisting information such as images and the working state for future usage. It is also responsible for masking and creating configuration of preserved image. It contains following folders.

  • db/: Database-related files and handlers.

  • tests/: Test files to test the apis.

  • app.py: Main Flask application file.

  • requirements.txt: Contains server dependencies.

Dependencies

Client

  • Other dependencies as listed in package.json

Server

Last updated