⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Impesoft/OpenSourceCalendar

Repository files navigation

OpenSourceCalendar

OpenSourceCalendar is a Blazor WebAssembly application targeting .NET 9. This project provides functionalities for booking rooms, managing user roles, and handling user authentication.

Project Structure

  • OpenSourceCalendar.Client: The Blazor WebAssembly client project.
  • OpenSourceCalendar.Server: The ASP.NET Core server project (if applicable).
  • OpenSourceCalendar.Shared: Shared classes and services between the client and server.
  • OpenSourceCalendar.Data: Data models and Entity Framework Core migrations.

Key Components

Booking.razor.cs

This component handles the booking functionalities, including displaying available rooms, managing booking states, and navigating between months.

ApplicationUser.cs

This class extends IdentityUser to include additional properties for the application user.

Error.razor

This component displays error messages and request IDs when an error occurs.

Configuration

  • appsettings.json: Contains configuration settings such as pricing for seasons.
  • Dependency Injection: Services like IBookingService, BookingStateService, and VisitorService are injected into components for use.

Running the Project

  1. Restore Dependencies: Run dotnet restore to restore all dependencies.
  2. Build the Project: Run dotnet build to build the project.
  3. Run the Project: Use dotnet run to start the application.

Additional Features

  • SignalR Integration: The project uses SignalR for real-time updates.
  • Localization: Dates are formatted using specific cultures (e.g., nl-BE).

Future Enhancements

  • Unit Tests: Add unit tests for critical components and services.
  • Error Handling: Improve error handling and user feedback mechanisms.
  • Performance Optimization: Optimize performance for large datasets and real-time updates.

License

This project is licensed under the MIT License. See the LICENSE file for more details. MIT License

License: MIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing

Contributions are welcome! Please read the CONTRIBUTING guidelines before submitting a pull request.

Contact

For any questions or feedback, please open an issue on the GitHub repository.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published