- Restructure backend code into Tasking module with organized endpoints - Add Project and Sprint entities with database migrations - Implement CRUD endpoints for projects (create, get, rename, delete) - Refactor task endpoints into Tasking namespace - Add integration test suite with Testcontainers and Respawn - Refactor frontend to use Pinia stores with dedicated API clients - Add DueDatePicker and DueTimePicker components for task scheduling - Add environment configuration for API base URL - Add infrastructure setup scripts for Docker/Postgres
25 lines
510 B
Bash
25 lines
510 B
Bash
#!/bin/bash
|
|
|
|
# Set global configuration
|
|
DATA_ROOT="/var/tasker"
|
|
POSTGRES_VERSION="latest"
|
|
MONGODB_VERSION="latest"
|
|
|
|
# Start PostgreSQL
|
|
docker run -d \
|
|
--name TASKER_POSTGRES \
|
|
-v "${DATA_ROOT}/postgres:/var/lib/postgresql/data" \
|
|
-p 5400:5432 \
|
|
-e POSTGRES_USER=sa \
|
|
-e POSTGRES_PASSWORD=P@ssword123! \
|
|
-e POSTGRES_DB=Tasker \
|
|
postgres:$POSTGRES_VERSION
|
|
|
|
# Start MongoDB
|
|
docker run -d \
|
|
--name TASKER_MONGODB \
|
|
-v "${DATA_ROOT}/mongodb:/data/db" \
|
|
-p 5401:27017 \
|
|
mongo:$MONGODB_VERSION
|
|
|