feat(tasking): add projects feature and restructure backend
- 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
This commit is contained in:
24
start-infrastructure.sh
Normal file
24
start-infrastructure.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user