A full-stack web application for scheduling with authentication and production planning features.
- Backend: .NET 9 Web API with JWT authentication and Google OAuth
- Frontend: React with TypeScript and Tailwind CSS
- Database: SQLite with Entity Framework Core
- Authentication: JWT tokens with Google OAuth integration
This application uses a robust environment-specific configuration system:
- Base Configuration:
appsettings.json(committed, no secrets) - Environment-Specific:
appsettings.{Environment}.json(committed, placeholders only) - Secrets: User Secrets (development) / Environment Variables (production/staging)
- Development: Uses user secrets for sensitive data, SQLite database
auth-dev.db - Staging: Uses environment variables, SQLite database
staging.db - Production: Uses environment variables, SQLite database
production.db - Testing: Uses in-memory database for unit tests
cd Login-and-Registration-Backend-.NET-
# Install dependencies
dotnet restore
# Configure user secrets for development (required)
dotnet user-secrets set "Jwt:Key" "your-super-secure-jwt-key-at-least-32-characters-long"
dotnet user-secrets set "Authentication:Google:ClientId" "your-google-client-id"
dotnet user-secrets set "Authentication:Google:ClientSecret" "your-google-client-secret"
# Run the application
dotnet runcd Login-and-Registration-Frontend-React-
# Install dependencies
npm install
# Start development server
npm run dev- Secrets are managed via .NET User Secrets
- See
SECRETS_MANAGEMENT.mdfor detailed setup instructions
- Configuration via environment variables
- See
SECRETS_MANAGEMENT.mdfor required environment variables
Run the configuration test script to validate your setup:
.\test-config.ps1├── Login-and-Registration-Backend-.NET-/ # .NET Web API
│ ├── Controllers/ # API controllers
│ ├── Data/ # Entity Framework context
│ ├── Models/ # Data models
│ ├── Services/ # Business logic services
│ ├── Configuration/ # Configuration helpers
│ └── appsettings.{Environment}.json # Environment-specific config
└── Login-and-Registration-Frontend-React-/ # React frontend
└── src/
├── components/ # React components
├── pages/ # Page components
├── contexts/ # React contexts
└── services/ # API services
- JWT token authentication
- Google OAuth integration
- Environment-specific configuration
- Secure secret management
- CORS protection
- HTTPS enforcement in production
- .NET 9 SDK
- Node.js 18+
- Git