This is a README file for the MyStore e-commerce application, built using React for the client-side and Node.js for the server-side. The application allows users to browse and purchase tech products and supports payment through PayPal.
- Browse and search for tech products.
- View detailed product information including images, descriptions, and prices.
- Add products to the shopping cart.
- Proceed to checkout and pay using PayPal.
- Receive order confirmation and status updates via email.
- Node.js (version 14 or later)
- NPM (Node Package Manager)
- Clone the repository:
- Navigate to the project directory:
- Install the dependencies:
git clone https://github.com/IamShaharFar/MyStore.git
cd MyStore
npm install
- Create a PayPal Developer account at https://developer.paypal.com.
- Generate API credentials (client ID and secret) for your application.
- Copy the `.env.example` file in the server directory and rename it to `.env`.
- Open the `.env` file and replace the `YOUR_PAYPAL_CLIENT_ID` placeholder with your actual PayPal API client ID.
- In the project root directory, start the server:
- In a separate terminal, start the client:
- Open your browser and visit http://localhost:3000 to access the application.
npm start
npm start
Contributions to this project are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the project repository.
This project is licensed under the MIT License. Feel free to modify and distribute it as needed.
This project was created by IamShaharFar. Thank you for using MyStore!