Welcome to our E-commerce Project, an advanced web application built using React with Vite, styled with Tailwind CSS, and backed by Node.js. This project aims to provide a seamless and efficient online shopping experience, showcasing how modern web technologies can be integrated to create a dynamic and responsive e-commerce platform.
- Six Dynamic Pages: Our application consists of six carefully designed pages, offering a comprehensive e-commerce experience from product browsing to checkout.
- React + Vite: Utilizing the latest in frontend development, we leverage React for its powerful UI capabilities, combined with Vite for an optimized development experience.
- Tailwind CSS: Styling is handled with Tailwind CSS, ensuring a sleek, responsive design that adapts to all devices.
- Node.js: All the packages and dev server to development use on node.
- Integration with Platzi's Fake API: To simulate a real-world environment, we connect to Platzi's Fake API for product data and other e-commerce functionalities.
The structure for the project has on the root of the project two directories, one for the general purpose images and the source code. The other files on the root are the vite, tailwind, package.json, README.md and .ignore files that are used for the project.
public/: Contains the vite logo and posible logos or svg that were needed on the project.src/: Contains all the code that make the app.components/: Contains the elements that are commonly use on the project like the navbar or cards.context/: Contain the logic and info that is need trough the diferent react components.pages/: Contain the diferent pages that are used on the app.utils/: Contain the logic that can be used all over the project.
This are the steps that are needed to use the project on local machine.
- Clone the repository:
git remote add origin git@github.com:DMGochoa/e-commerce-project-reactvite.git - Install dependencies:
npm install - Run the development server:
npm run dev
This is a project made to understand react and start to develop an app you can use this as a starting point to create the backend or enhance the project.
MIT License
Copyright (c) 2024 DMGochoa
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.