Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kunaldhongade/samplestore
Sample Store is a minimalistic e-commerce application built using the MERN stack. It allows users to browse products, add them to their cart, and proceed to checkout. The application demonstrates fundamental concepts of building full-stack web applications
https://github.com/kunaldhongade/samplestore
ecommerce express mern
Last synced: 13 days ago
JSON representation
Sample Store is a minimalistic e-commerce application built using the MERN stack. It allows users to browse products, add them to their cart, and proceed to checkout. The application demonstrates fundamental concepts of building full-stack web applications
- Host: GitHub
- URL: https://github.com/kunaldhongade/samplestore
- Owner: kunaldhongade
- License: mit
- Created: 2024-02-05T11:26:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-14T19:15:50.000Z (9 months ago)
- Last Synced: 2024-03-14T20:33:06.876Z (9 months ago)
- Topics: ecommerce, express, mern
- Language: JavaScript
- Homepage: https://sample-store-seven.vercel.app/
- Size: 620 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Sample Store
Welcome to Sample Store! This is a basic MERN (MongoDB, Express.js, React.js, Node.js) application designed to demonstrate simple e-commerce features for a sample online store.
## Introduction
Sample Store is a minimalistic e-commerce application built using the MERN stack. It allows users to browse products, add them to their cart, and proceed to checkout. The application demonstrates fundamental concepts of building full-stack web applications with MongoDB, Express.js, React.js, and Node.js.
## Features
- **Product Listing**: View a list of available products with details such as name, description, and price.
- **Product Details**: Click on a product to view detailed information, including images and specifications.
- **Shopping Cart**: Add products to the shopping cart and view items in the cart.
- **Checkout Process**: Proceed to checkout and enter shipping and payment information.
- **User Authentication**: Sign up, log in, and log out functionalities for users.## Prerequisites
Before running the Sample Store application, ensure that you have the following prerequisites installed on your system:
- Node.js (version X.X.X)
- npm (Node Package Manager)
- MongoDB (version X.X.X)## Installation
To install and run the Sample Store application, follow these steps:
1. Clone the repository to your local machine:
```bash
git clone https://github.com/your-username/sample-store.git
```2. Navigate to the project directory:
```bash
cd sample-store
```3. Install dependencies using npm:
```bash
npm install
```4. Set up environment variables by creating a `.env` file and adding the necessary configuration (database connection URI, JWT secret, etc.).
5. Start the backend server:
```bash
npm start
```6. Navigate to the `client` directory:
```bash
cd client
```7. Install client-side dependencies:
```bash
npm install
```8. Start the frontend server:
```bash
npm start
```9. Access the application in your web browser at `http://localhost:3000`.
## Contributing
Contributions to the Sample Store application are welcome! If you have any ideas for improvements, new features, or bug fixes, feel free to submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE).