Skip to content

Criztiandev/VILLANUEVA-ECOMMERCE-WEBSITE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VILLANUEVA-ECOMMERCE-WEBSITE

VILLANUEVA-ECOMMERCE-WEBSITE is a full-stack e-commerce platform built with modern web technologies. This project aims to provide a robust and scalable solution for online retail businesses.

Features

  • User authentication and authorization
  • Product catalog with categories and search functionality
  • Shopping cart and checkout process
  • Order management and tracking
  • User profile and order history
  • Admin panel for product and order management
  • Responsive design for mobile and desktop use

Tech Stack

  • Frontend:

    • React.js
    • Redux for state management
    • Tailwind CSS for styling
    • Axios for API requests
  • Backend:

    • Node.js with Express.js
    • MongoDB for database
    • Mongoose as ODM
    • JSON Web Tokens (JWT) for authentication
  • Additional Technologies:

    • Stripe for payment processing
    • Cloudinary for image hosting

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v14 or later)
  • npm (v6 or later)
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/Criztiandev/VILLANUEVA-ECOMMERCE-WEBSITE.git
    cd VILLANUEVA-ECOMMERCE-WEBSITE
    
  2. Install dependencies for the backend:

    cd server
    npm install
    
  3. Install dependencies for the frontend:

    cd ../client
    npm install
    
  4. Set up environment variables:

    • Create a .env file in the server directory
    • Add necessary environment variables (e.g., MongoDB URI, JWT secret, Stripe API key)

Running the Application

  1. Start the backend server:

    cd server
    npm run dev
    
  2. In a new terminal, start the frontend development server:

    cd client
    npm run dev
    
  3. Open your browser and navigate to http://localhost:3000 to access the application.

Project Structure

  • client/: Contains the React frontend application
  • server/: Contains the Node.js/Express backend application
  • server/models/: MongoDB schema definitions
  • server/routes/: API route definitions
  • server/controllers/: Business logic for API routes

API Documentation

For detailed API documentation, please refer to the API_DOCS.md file.

Contributing

We welcome contributions to VILLANUEVA-ECOMMERCE-WEBSITE! Please read our Contributing Guidelines for details on our code of conduct and the process for submitting pull requests.

Testing

To run the test suite:

  1. For backend tests:

    cd server
    npm test
    
  2. For frontend tests:

    cd client
    npm test
    

Deployment

For instructions on how to deploy this application to a production environment, please see our Deployment Guide.

License

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

Acknowledgments

  • All contributors who have helped build and improve this project
  • Open-source libraries and tools used in this project

Happy shopping with VILLANUEVA-ECOMMERCE-WEBSITE!

Releases

No releases published

Packages

No packages published

Languages