Giter Site home page Giter Site logo

fastkart-project's Introduction

FastKart-Project ๐Ÿ›’

Description :

Fastkart is an innovative online platform designed to revolutionize the way food products are shipped and delivered to customers. This web application provides a seamless and user-friendly experience, enabling customers to easily browse, select, and order a wide range of food products for delivery right to their doorstep. Fastkart's exceptional features are made possible through its robust technology stack, combining the power of React and .NET in ASP.NET Core.

Front-End tech stack :

  • React : Fastkart employs React โš›๏ธ, a JavaScript library, to create modular UI components for seamless navigation and interactive user experiences.
  • Tailwind CSS: Utilizing Tailwind CSS ๐ŸŽจ, Fastkart achieves consistent and efficient styling through utility classes, ensuring a responsive design across devices.

Back-End tech stack :

  • ASP.NET Core: Fastkart's backend is powered by ASP.NET Core ๐ŸŒ, offering a robust and high-performance ๐Ÿš€ foundation for handling core functionalities and requests.
  • Entity Framework: Leveraging Entity Framework ๐Ÿ—๏ธ, Fastkart ensures efficient database interactions and data management, simplifying the handling of essential data operations.
  • SQL Server (Production): Fastkart utilizes SQL Server ๐Ÿ›ข๏ธ for production, ensuring a scalable and secure database environment to support seamless operations and data integrity.
  • SQLite (Testing): During testing, Fastkart employs SQLite ๐Ÿ“ฆ to facilitate rapid and isolated testing, enabling developers to ensure reliability and accuracy in a controlled environment.

Database Schema:

The foundation of Fastkart's operations lies in its comprehensive database schema. The database is designed using Entity Framework, an object-relational mapping (ORM) framework that simplifies database interactions. Here's a glimpse of the database schema:

Project Logo

Database Schema Implementation ( Classes & Models ) :

Fastkart's robust database schema is the backbone of its efficient operations. Each class within the schema is meticulously designed to capture essential data points, ensuring seamless functionality and accurate information management.

  • Product Class As Example :
public class Product
{
    public int Id { get; set; }
    public string Title { get; set; }
    public string Discription { get; set; }
    public float OldPrice { get; set; }
    public float CurrentPrice { get; set; }
    public string CategoryName { get; set; }
    public Category Category { get; set; }
    public string BrandName { get; set; }
    public Brand Brand { get; set; }
    public string FormName { get; set; }
    public Form Form { get; set; }
    public string StoreName { get; set; }
    public Store Store { get; set; }
    public string PackageInfo { get; set; }
    public string ManufactorName { get; set; }
    public Manufactor Manufactor { get; set; }
    public string PartNumber { get; set; }
    public int NetQuantity { get; set; }
    public decimal Amount { get; set; }
    public ProductStatus Status { get; set; }
    public float NetPrice { get; set; }
    public List ProductPictures { get; set; }
    public List Likers { get; set; }
    public List Orders { get; set; }
    public List Ratings { get; set; }
}

For All Classes Implementation , You Can See : Entities .

  • Configuring Product Class As Example :
public static class ProductConfig
{
    public static ModelBuilder AddProductEntity(this ModelBuilder modelBuilder)
    {
        var ProductEntity = modelBuilder.Entity();

        // Title
        ProductEntity.Property(P => P.Title)
            .IsRequired()
            .HasMaxLength(100);

        // Discription
        ProductEntity.Property(P => P.Discription)
            .HasMaxLength(2000);

        // Category
        ProductEntity.HasOne(P => P.Category)
            .WithMany(C => C.Products)
            .HasForeignKey(P => P.CategoryName);

        // Brand
        ProductEntity.HasOne(P => P.Brand)
            .WithMany(B => B.Products)
            .HasForeignKey(P => P.BrandName);

        // other properties available in the source code up .

        return modelBuilder;
    }
}

in modelBuilder :

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder
        .AddProductEntity();
        // and other entities .
}

For All Entities Configuration , You Can See : Entities Configuration

Swagger-Powered API Documentation ๐Ÿ“š๐Ÿš€

Fastkart's Swagger UI documentation offers developers a comprehensive guide to seamlessly integrate, enhance, and leverage our APIs. Simplify development and maximize potential with Fastkart's API documentation.

Languages and Tools:

csharp dotnet git javascript mssql postman react sqlite

fastkart-project's People

Contributors

bouzidkobchi avatar

Stargazers

 avatar  avatar soheib benchabana avatar Abdellah Becherair avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.