Skip to content

πŸ› οΈ Trendz Ecommerce Backend – Secure & Scalable! The core of Trendz Ecommerce, handling authentication, products, orders, and payments with RESTful APIs for seamless frontend communication. πŸš€

License

Notifications You must be signed in to change notification settings

itxnargis/trendz-ecommerce-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ Trendz Ecommerce Backend

Welcome to the Trendz Ecommerce Backend, the core of a powerful and scalable online shopping platform.
This backend handles user authentication, product management, orders, payments, and real-time updates, ensuring a seamless shopping experience.

πŸš€ Live API

πŸ”— API Base URL

πŸ“’ Important!
This repository contains only the backend code.
For the frontend, visit: Trendz Ecommerce Frontend.


πŸ“œ Table of Contents


✨ Features

βœ… User Authentication – Secure login & signup with JWT
βœ… Product Management – Add, update, and delete products
βœ… Shopping Cart & Orders – Handle orders, payments, and shipping
βœ… Admin Dashboard – Manage users, products, and orders
βœ… Secure Payment Integration – Connect with Stripe or PayPal
βœ… RESTful API – Well-structured endpoints for smooth frontend communication
βœ… Scalable & Secure – Built with performance and security in mind


πŸ›  Technologies Used

  • Backend Framework: Node.js + Express.js
  • Database: MongoDB + Mongoose
  • Authentication: JWT (JSON Web Token)
  • Real-Time Updates: WebSockets (Socket.io)
  • Payment Gateway: Stripe / PayPal
  • API Documentation: Swagger / Postman
  • Deployment: Render / AWS

πŸš€ Installation

  1. Clone the repository
    git clone https://github.com/itxnargis/trendz-ecommerce-backend.git
    cd trendz-ecommerce-backend
    
  2. Install Dependencies
    npm install
    
  3. Configure environment
    PORT=5000
    MONGO_URI=your_mongodb_connection_string
    JWT_SECRET=your_secret_key
    STRIPE_SECRET_KEY=your_stripe_key
    FRONTEND_URL=https://trendz-ecommerce-tau.vercel.app
    
  4. Start the server
    npm start
    
  5. Your API will be live at http://localhost:5000.

πŸ•Ή Usage

1️⃣ User Registration & Login – Create an account and authenticate
2️⃣ Product Management – Fetch, add, update, or delete products
3️⃣ Cart & Orders – Manage shopping cart and place orders
4️⃣ Admin Controls – Manage users, orders, and inventory

🀝 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the project.
  2. Create your feature branch:
    git checkout -b feature/AmazingFeature
  3. Commit your changes:
    git commit -m 'Add some AmazingFeature'
  4. Push to the branch:
    git push origin feature/AmazingFeature
  5. Open a Pull Request.

πŸ“„ License

Distributed under the MIT License. See LICENSE for details.

About

πŸ› οΈ Trendz Ecommerce Backend – Secure & Scalable! The core of Trendz Ecommerce, handling authentication, products, orders, and payments with RESTful APIs for seamless frontend communication. πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published