The Event Registration System is a web application built with .NET 7 that allows users to register for events. It includes email confirmation functionality using Mailjet.
git clone https://github.com/Alz3bi/EventRegistrationSystem.git cd EventRegistrationSystem
- Sign up for a Mailjet account and obtain your API key and secret.
- Open the
appsettings.json
file and add your Mailjet credentials:{ "Mailjet": { "ApiKey": "your-mailjet-api-key", "ApiSecret": "your-mailjet-api-secret", "FromEmail": "[email protected]" } }
Open the solution in Visual Studio and build the project to restore the dependencies and ensure everything is set up correctly.
If your project uses a database, update it using Entity Framework migrations:
dotnet ef database update
- Open the solution in Visual Studio.
- Set the startup project to
EventRegistrationSystem
. - Press
F5
or click on theRun
button to start the application.
- Navigate to the registration page in your browser.
- Fill out the registration form with the event details and submit.
- Check the email inbox of the recipient email address provided in the form. You should receive a confirmation email from the Event Registration System.
- Ensure that your Mailjet API key and secret are correctly configured in the
appsettings.json
file. - Check the application logs for any errors related to email sending.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.