A web application built with ASP.NET Core for textbook management and booking.
- Language: C# (primary), HTML, JavaScript, SCSS
- Framework: ASP.NET Core with Razor Pages
- Interactive Components: Blazor (Interactive Islands pattern for enhanced interactivity)
- Database: Entity Framework Core with Migrations
- Frontend:
- CSS Framework: PICO CSS with SCSS preprocessor
- JavaScript: HTMX for SPA-like functionality without heavy JavaScript frameworks
- Authentication/Authorization: ASP.NET Core Identity
Booker/
├── Areas/ # Feature areas for organizing related functionality
├── Authorization/ # Authentication and authorization logic
├── Data/ # Database context and data models
├── Migrations/ # Entity Framework database migrations
├── Pages/ # Razor Pages for UI
├── Resources/ # Localization and resource files
├── Services/ # Business logic and services
├── TagHelpers/ # Custom ASP.NET Tag Helpers
├── Utilities/ # Helper functions and utilities
└── wwwroot/ # Static files (CSS, JS, images)
- .NET SDK (version specified in project file)
- SQL Server or compatible database
- Visual Studio 2022 / VS Code / Rider (recommended)
-
Clone the repository:
git clone https://github.com/TECH-MENTORING-EU/Textbooker.git cd Textbooker/Booker -
Restore dependencies:
dotnet restore
-
Update the database connection string in
appsettings.json -
Apply database migrations:
dotnet ef database update
-
Run the application:
dotnet run
-
Open your browser and navigate to
https://localhost:5001(or the port specified in the console output)
Configuration settings can be found in:
appsettings.json- Production settingsappsettings.Development.json- Development environment settings
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is part of TECH-MENTORING-EU organization.
This repository includes the script ..\.agents\skills\textbooker-pr-review\scripts\apply_review_comments_agent_v2.py to fetch unresolved review comments from the open pull request for your current branch and hand them off to GitHub Copilot CLI.
Requires (minimum supported versions):
- Python 3.13.7
- git 2.53.0.windows3
- GitHub Copilot CLI 1.0.70+ authenticated with
copilot login - GitHub CLI 2.96.0 authenticated with
gh auth login
The script:
- Detects the currently checked out branch
- Finds the open pull request for that branch
- Fetches unresolved review threads that are not outdated
- Writes a prompt file to the repository root
- Starts Copilot CLI in autopilot mode to apply the requested fixes
From the repository root:
python .\.agents\skills\textbooker-pr-review\scripts\apply_review_comments_agent_v2.py-
Only generate the prompt file without launching Copilot:
python .\.agents\skills\textbooker-pr-review\scripts\apply_review_comments_agent_v2.py --no-copilot
-
Explicitly specify the repository if auto-detection is not enough:
python .\.agents\skills\textbooker-pr-review\scripts\apply_review_comments_agent_v2.py --repo TECH-MENTORING-EU/Textbooker
-
Change the generated prompt file name:
python .\.agents\skills\textbooker-pr-review\scripts\apply_review_comments_agent_v2.py --prompt-file my-review-prompt.txt
- Run the script from a branch that already has an open pull request.
- The script does not create a commit.
- The script leaves changes uncommitted in your working tree.
- If there are no unresolved current review threads, the script exits without making changes.
Organization: TECH-MENTORING-EU
Project Link: https://github.com/TECH-MENTORING-EU/Textbooker