Abhisheksantra28 / Painting-Ecommerce

https://painting-ecommerce.vercel.app
0 stars 0 forks source link

Trivart

Trivart is a fully functional Ecommerse platform that enables user to create there account and browse different category of art items and order them. Managed by one Admin Where Admin can create product manage products subcategory. Check all the queries submitted by user from website. Manage the State(Shipped,Delivered,Cancelled) of Orders. Create and manage Coupons. This platform is built using React,PostgrSql,Redis,GoLang.

Trivart aims to provide A seamless and ineractive Ecommerse experience for Customers and Admins.

System Architecture

Trivart platform consists of three main components: Frontend,Backend,Database. This System follows client-server Architecture.

Frontend

The front end of this platform is build using ReactJs,Chakra-ui,Acertinity-ui.React js allows for the creation of dynamic and responsive user interface.

Backend

The Backend of the platform is built using Fiber which is a GoLang libray similar of Express. We used Fiber and Go instead of Nodejs beacuse of its easy to use , fast compared other framworks avilable, concurrency support, easy to handle large amount of users without doing any extra tunning.

Database

The database of this platform is build using PostgreSql and Redis. PostgreSql allowsf or the storage of relational data in most efficient way and it is used by most of the Ecommerse platforms. SQL language support for interacting with database. Redis is used for RefreshToken storing and most frequently accesed products.

Architecture Design

Here is the high-level diagram that illustrates the architecture of the Trivart Ecommerse platform.

diagram-export-9-6-2024-9_21_03-AM

Frontend:

Frontend is the part of the platform where user interacts with most. It is the face of the platform. The frontend of this platform has this pages and functionality

Data Models and Database Schema:

The back end of Trivart uses a range of data models and database schemas to manage data. Overall, the back-end of Trivart is designed to provide a robust and scalable solution for an Ecommerse platform, with a focus on security, reliability, and ease of use. Screenshot from 2024-08-16 02-08-16

Api Design

The Trivart platform's API is designed following the REST architectural style. Follow this to know more About Api

Deployment: The Deployment process for the Trivart will involve hosting the service in various cloud platform.Frontend can be deployed in vercel.The backend Requires more care we already created a docker-compose file you just need to run that file to up and run the backend. Deployment process is written here with most detailed way.We implemented a script for easy backups from psql directly push that to github repo you can find that folder here.

Future Enhancements: