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.
- 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
-
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
Before you begin, ensure you have the following installed:
- Node.js (v14 or later)
- npm (v6 or later)
- MongoDB
-
Clone the repository:
git clone https://github.com/Criztiandev/VILLANUEVA-ECOMMERCE-WEBSITE.git cd VILLANUEVA-ECOMMERCE-WEBSITE
-
Install dependencies for the backend:
cd server npm install
-
Install dependencies for the frontend:
cd ../client npm install
-
Set up environment variables:
- Create a
.env
file in theserver
directory - Add necessary environment variables (e.g., MongoDB URI, JWT secret, Stripe API key)
- Create a
-
Start the backend server:
cd server npm run dev
-
In a new terminal, start the frontend development server:
cd client npm run dev
-
Open your browser and navigate to
http://localhost:3000
to access the application.
client/
: Contains the React frontend applicationserver/
: Contains the Node.js/Express backend applicationserver/models/
: MongoDB schema definitionsserver/routes/
: API route definitionsserver/controllers/
: Business logic for API routes
For detailed API documentation, please refer to the API_DOCS.md file.
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.
To run the test suite:
-
For backend tests:
cd server npm test
-
For frontend tests:
cd client npm test
For instructions on how to deploy this application to a production environment, please see our Deployment Guide.
This project is licensed under the MIT License - see the LICENSE file for details.
- 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!