Front end website to interact with the cellPACK services running in AWS. This webpage allows users to run cellPACK packings without having to run code manually or use the commandline.
- Install bun https://bun.sh/docs/installation
- Install dependencies:
bun install
bun run dev- Navigate to http://localhost:5173/ in your browser
bun test
This client interacts with the cellPACK server, which consists of a variety of backend services hosted in AWS to run cellPACK packings. These AWS services include:
- API Gateway: cellPACK REST API providing this client with access to needed AWS resources for running and receiving data from cellPACK jobs. Includes the following endpoints:
- POST /start-packing?recipe={myrecipe}[&config={myconfig}]
- ECS: A call to POST /start-packing launches a new AWS packing job to run. Once the job is completed, the path to the results file(s) is written to the job's
job_statusentry in the cellPACK Firebase database. - S3: Result files from the AWS packing job are written to the
cellpack-demoS3 bucket. - ECR: Docker image built from the cellPACK github repo is published to the
cellpack-privateECR repository. That image defines the container specifications in which the AWS packing job will run.
- Firebase Firestore: The cellPACK database is hosted in Firebase Firestore. This database stores all recipes, objects, gradients, compositions, packing configurations, and job statuses. See CONTRIBUTING.md for Firebase overview and FIREBASE_SCHEMA.md for the complete database schema.