# CarTraderApp
CarTraderApp is a car trading platform that allows users to browse, order, and manage cars and car parts. The application also provides features for user registration, login, and managing user profiles. Administrators can manage cars, parts, and orders, and generate reports.
- User registration, login, and profile management
- Admin dashboard for managing cars, car parts, and orders
- Buy now and cart functionality for users
- Password reset with OTP validation
- Custom message boxes for enhanced user interaction
- C# (.NET Framework)
- Windows Forms for user interface
- Entity Framework for database management
- MSSQL as the database
- ApplicationDBContext.cs: Handles database context and interactions with the MSSQL database.
- AdminDashboard.cs, CustomerHomePage.cs: Main forms for admin and customer interaction.
- BuyNowControl.cs, CartControl.cs: Controls for managing purchases and cart functionalities.
- PasswordHelper.cs: Helper class for managing password operations, including reset.
- Validator.cs: Input validation utilities.
- Visual Studio 2019 or later
- .NET Framework 4.7 or later
- MSSQL Server
- Clone or download the repository.
- Open the solution
CarTraderApp.sln
in Visual Studio. - Restore NuGet packages (if required).
- Update the database connection string in
ApplicationDBContext.cs
to match your environment. - Build and run the application from Visual Studio.
- Admin Login: Use the admin dashboard to manage car inventory, orders, and user accounts.
- Customer Interface: Customers can browse cars, add items to their cart, and place orders.
- bin/: Contains compiled binaries and executable files.
- obj/: Contains object files and intermediate compilation results.
- Resources/: Contains application resources (images, strings, etc.).
- Properties/: Contains project-wide settings, including assembly info.
*.csproj
: Project file for configuring build settings.
- Login Interface
- Admin Dashbord
- User Dashbord
- Notification
- Buy car