Welcome to Market Mate, your go-to online marketplace! Built with cutting-edge technology, Market Mate offers a seamless shopping experience, enabling users to explore products, read and post reviews, and manage their purchases with ease.
- User Authentication: Secure login and registration functionality with Next-Auth.
- Product Listings: Browse through a variety of products.
- Shopping Cart: Add items to your cart and manage them easily.
- Payment Integration: Complete purchases with card payments through PayHere.
- Order History: Users can view their past orders and track current order status.
- Product Reviews: Users can post reviews on products and read reviews from other customers.
- Next.js: The React framework for production.
- MySQL: Relational database management system used for storing user data and order information.
- MongoDB: Document database used for storing product data and reviews.
- Next-Auth: Authentication for Next.js.
- PayHere: Payment processing service to handle transactions.
To test simulated successful payments, you can use the following test card numbers provided by PayHere:
- Visa: 4916217501611292
- MasterCard: 5307732125531191
- AMEX: 346781005510225
For ‘Name on Card’, ‘CVV’ & ‘Expiry date’, you can enter any valid data. Any card except the above will result in a failed payment.
![image](https://private-user-images.githubusercontent.com/67389877/323757856-164c69c2-ea02-4109-917d-ef85b4ca5bd2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4NjE3ODgsIm5iZiI6MTcyMTg2MTQ4OCwicGF0aCI6Ii82NzM4OTg3Ny8zMjM3NTc4NTYtMTY0YzY5YzItZWEwMi00MTA5LTkxN2QtZWY4NWI0Y2E1YmQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI0VDIyNTEyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2M2UyNWIwZDU2Mjg0MmUyMWUyMmQ0MjNjOTYyZTg2NTI1NTJlMmYyZGEzYTc1NDJlOGE4NzlhZGVjMWZiNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bW7eiFIJ1uCWERLjKybfnJ4iOMq1RQBcScK9gbo0cu8)
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Supun Sathsara – 📧contact@supunsathsara.com
Project Link: https://github.com/supunsathsara/Market-Mate