Skip to content

webApp version of tokotech - A full feature online store πŸ€– ( This just preview repository - production is on private repo, feel free to contact i u need more detail )

License

Notifications You must be signed in to change notification settings

Ryan-infitech/Tokotech-WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Visitors

Toko Tech - Professional E-Commerce Platform

Toko Tech

Overview

Toko Tech is a full-stack e-commerce platform built with Next.js 14 and Express.js. It provides a modern shopping experience with comprehensive product management, secure checkout flows, and robust admin capabilities. The application uses a PostgreSQL database through Supabase for data storage and authentication services.

Technology Stack

Frontend

  • Framework: Next.js 14 with App Router
  • UI Libraries:
    • Tailwind CSS for styling
    • Headless UI for accessible components
    • Framer Motion for animations
  • State Management: Zustand
  • Form Handling: React Hook Form with Zod validation
  • API Communication:
    • Axios for HTTP requests
    • SWR for data fetching and caching
  • Authentication: NextAuth.js with JWT
  • Data Visualization: Chart.js
  • Notification System: React Hot Toast

Backend

  • Runtime: Node.js with Express.js
  • Database: PostgreSQL via Supabase
  • Authentication: JWT with role-based access control
  • Security: CORS with customized configuration
  • File Storage: Supabase Storage
  • Email Service: Nodemailer
  • File Upload: Multer middleware
  • Validation: Joi and Zod schemas
  • Logging: Winston logger
  • Payment Processing: Midtrans integration
  • Reporting: Excel generation with ExcelJS

Features

Customer Features

  • User Authentication
    • Email/password registration
    • JWT-based secure authentication
    • Password reset functionality
  • Product Browsing
    • Advanced filtering and searching
    • Category-based navigation
    • Detailed product information
  • Shopping Experience
    • Shopping cart with persistence
    • Wishlist functionality
    • Order tracking and history
  • Checkout Process
    • Multiple payment methods through Midtrans
    • Shipping options and calculations
    • Order confirmation and receipt

Admin Features

  • Dashboard
    • Sales analytics and metrics
    • Customer insights
    • Inventory status
  • Product Management
    • Product creation and editing
    • Inventory management
    • Image upload and management
  • Order Management
    • Process and track orders
    • Update order status
    • Generate shipping information
  • User Management
    • Customer account administration
    • Role-based access control
    • User status management
  • Reporting
    • Revenue reports
    • Excel export functionality
    • Custom date range filtering

Bit Of The Structure ...

.
β”œβ”€β”€ Frontend                  # Frontend application
β”‚   β”œβ”€β”€ public                # Public assets
β”‚   β”œβ”€β”€ src                   # Source files
β”‚   β”‚   β”œβ”€β”€ app               # Next.js app directory
β”‚   β”‚   β”œβ”€β”€ components         # Shared components
β”‚   β”‚   β”œβ”€β”€ lib                # Library functions
β”‚   β”‚   β”œβ”€β”€ middleware         # Middleware functions
β”‚   β”‚   β”œβ”€β”€ pages             # Next.js pages
β”‚   β”‚   β”œβ”€β”€ styles            # Global styles
β”‚   β”‚   β”œβ”€β”€ utils             # Utility functions
β”‚   β”‚   └── ...  
β”‚   β”œβ”€β”€ .env.local            # Local environment variables
β”‚   └── .... 
β”œβ”€β”€ Backend                   # Backend application
β”‚   β”œβ”€β”€ config                # Configuration files
β”‚   β”œβ”€β”€ controllers           # Request controllers
β”‚   β”œβ”€β”€ middleware            # Middleware functions
β”‚   β”œβ”€β”€ models                # Database models
β”‚   β”œβ”€β”€ routes                # API routes
β”‚   β”œβ”€β”€ services              # Business logic and services
β”‚   β”œβ”€β”€ uploads               # File uploads
β”‚   β”œβ”€β”€ .env                  # Environment variables
β”‚   β”œβ”€β”€ server.js             # Entry point for the backend
β”‚   └── ...
β”œβ”€β”€ README.md                 # Project documentation
β”œβ”€β”€ package.json              # Package configuration
└── ...

License

This project is licensed under the MIT License. See the LICENSE file for details.


Thank you for checking out Toko Tech! We hope this documentation helps you understand and contribute to the project. For any questions or feedback, please reach out to the maintainers.

About

webApp version of tokotech - A full feature online store πŸ€– ( This just preview repository - production is on private repo, feel free to contact i u need more detail )

Topics

Resources

License

Stars

Watchers

Forks