Phase 2.1: Backend project initialized with Docker configuration

- Created Cargo.toml with all required dependencies
- Implemented health/ready endpoints
- Added Docker configuration (production + development)
- Configured docker-compose with resource limits
- Set up MongoDB service with persistence
- Verified build (cargo check passed)
- Prepared monorepo structure for mobile/web/shared

Next: Phase 2.2 (MongoDB connection and models)
This commit is contained in:
goose 2026-02-14 15:30:06 -03:00
parent 4dca44dbbe
commit 1e38fe3ace
11 changed files with 388 additions and 80 deletions

95
.gitignore vendored
View file

@ -1,89 +1,24 @@
# Normogen - Health Data Tracking Platform
# Rust
backend/target/
backend/Cargo.lock
# Environment variables
.env
.env.local
.env.*.local
.env.development
.env.production
.env.test
# Node.js
mobile/node_modules/
web/node_modules/
shared/node_modules/
# Dependencies
node_modules/
.pnp
.pnp.js
# Environment files
backend/.env
mobile/.env
web/.env
# Build outputs
dist/
build/
target/
*.log
# Rust specific
Cargo.lock
**/*.rs.bk
.cargo/
# Database
*.db
*.sqlite
*.sqlite3
data/
db/
# Encryption keys (NEVER commit these!)
*.key
*.pem
*.cert
*.der
keys/
secrets/
*.enc
# IDE and Editor files
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Testing
coverage/
.nyc_output/
*.lcov
# Docker volumes (if using for local dev)
docker-volumes/
# OS specific
Thumbs.db
.DS_Store
# Temporary files
tmp/
temp/
*.tmp
# Backup files
*.bak
*.backup
# Phone app builds (if developing locally)
ios/Pods/
ios/*.xcworkspace
ios/*.xcodeproj/xcuserdata/
android/app/build/
android/.gradle/
# Documentation build artifacts
_site/
.sass-cache/
.jekyll-cache/