feat: Initialize frontend and backend structure with essential configurations
- Added TypeScript build info for frontend. - Created Vite configuration for React application. - Implemented pre-commit hook to run checks before commits. - Set up PostgreSQL Dockerfile with PostGIS support and initialization scripts. - Added database creation script for PostgreSQL with necessary extensions. - Established Python project configuration with dependencies and development tools. - Developed pre-commit script to enforce code quality checks for backend and frontend. - Created PowerShell script to set up Git hooks path.
This commit is contained in:
17
.env.example
Normal file
17
.env.example
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copy this file to .env and adjust values per environment.
|
||||
|
||||
# Application settings
|
||||
PROJECT_NAME=Rail Game API
|
||||
API_PREFIX=/api
|
||||
VERSION=0.1.0
|
||||
|
||||
# Security
|
||||
JWT_SECRET_KEY=change-me
|
||||
JWT_ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
||||
|
||||
# Database configuration
|
||||
DATABASE_URL=postgresql+psycopg://railgame:railgame@localhost:5432/railgame_dev
|
||||
TEST_DATABASE_URL=postgresql+psycopg://railgame:railgame@localhost:5432/railgame_test
|
||||
ALEMBIC_DATABASE_URL=${DATABASE_URL}
|
||||
DATABASE_ECHO=false
|
||||
Reference in New Issue
Block a user