prince272 / Hubtel.eCommerce.Cart

This repository contains the startup configuration for the Hubtel eCommerce Cart API. It configures various services, middlewares, and components required for the API to function properly.

Home Page:https://www.postman.com/prince272/workspace/public-workspace/collection/4562571-7594830f-cdf1-4e3f-8cb2-156e63b673f4?action=share&creator=4562571

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hubtel.eCommerce.Cart.Api πŸ›’

This repository contains the startup configuration for the Hubtel eCommerce Cart API. It configures various services, middlewares, and components required for the API to function properly.

Table of Contents

Introduction

The Hubtel.eCommerce.Cart.Api project is responsible for setting up and configuring the necessary services, authentication, and routing for the Hubtel eCommerce Cart API. It leverages various libraries and components to achieve its functionality.

Installation

  1. :octocat: Clone this repository to your local machine.
  2. πŸ”§ Open the project using your preferred development environment (Visual Studio, Visual Studio Code, etc.).
  3. πŸ“¦ Make sure you have the required dependencies installed, such as .NET Core SDK and other referenced packages.
  4. βš™οΈ Configure the connection string in the appsettings.json or appsettings.Development.json file to point to your desired database.

Configuration

The configuration of the Hubtel.eCommerce.Cart.Api project involves several steps to set up various services, database connections, and authentication providers. Key configuration areas include:

  • Database Connection: Set up the database connection using the connection string provided in the appsettings.json file.
  • Identity Services: Configure identity settings, including password requirements, lockout settings, and token providers.
  • Entity Framework: Configure the Entity Framework database context and migrations assembly.
  • Caching: Add caching services for improved performance.
  • Swagger Documentation: Set up Swagger and SwaggerUI for API documentation in development.
  • Authentication: Configure JWT Bearer authentication for securing API endpoints.
  • Authorization: Configure authorization policies for different user roles.

Usage

  1. πŸ“¦ Install the required dependencies and configure the connection string as mentioned in the Installation section.
  2. πŸš€ Run the application using your preferred development environment or command line tool.
  3. πŸ“– During development, the SwaggerUI documentation can be accessed at /swagger to explore and test the available API endpoints.
  4. :shopping_bags: The API exposes various endpoints related to eCommerce cart functionality.

Contributing

Contributions to this project are welcome. If you find a bug or want to suggest an enhancement, feel free to open an issue or submit a pull request. Please ensure that your contributions align with the coding standards and conventions used in the project.

License

This project is licensed under the MIT License, which means you can use, modify, and distribute the code as long as you retain the original license and copyright notice.

About

This repository contains the startup configuration for the Hubtel eCommerce Cart API. It configures various services, middlewares, and components required for the API to function properly.

https://www.postman.com/prince272/workspace/public-workspace/collection/4562571-7594830f-cdf1-4e3f-8cb2-156e63b673f4?action=share&creator=4562571


Languages

Language:C# 100.0%