This project is an e-commerce platform consisting of both a backend ASP.NET Core Web API and a frontend Vue.js application.
This ASP.NET Core Web API provides endpoints for managing products, brands, categories, users, carts, and cart items.
- Products: CRUD operations for managing products.
- Brands: CRUD operations for managing brands.
- Categories: CRUD operations for managing categories.
- Users: CRUD operations for managing users.
- Carts: CRUD operations for managing carts.
- Cart Items: CRUD operations for managing cart items.
- ASP.NET Core 3.1
- Entity Framework Core
- SQL Server
- AutoMapper
- Swagger UI
- Clone the repository to your local machine.
- Open the solution in Visual Studio.
- Configure the connection string in
appsettings.json
to point to your SQL Server instance. - Run the Entity Framework Core migrations to create the database schema:
dotnet ef database update
. - Run the application. It will launch the API, and you can start making requests.
The API documentation is available using Swagger UI. After running the application, navigate to https://localhost:<port>/swagger
to view and test the API endpoints.
This Vue.js application serves as the frontend for the e-commerce platform.
npm install
npm run serve Compiles and minifies for production
npm run build
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.