Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thamerh/e-commerce
Welcome to eCommerce website built with Next.js, MongoDB, and Stripe. This project aims to provide a scalable and modern solution for online commerce.
https://github.com/thamerh/e-commerce
ecommerce mongodb mongoose nextjs stripe
Last synced: 4 days ago
JSON representation
Welcome to eCommerce website built with Next.js, MongoDB, and Stripe. This project aims to provide a scalable and modern solution for online commerce.
- Host: GitHub
- URL: https://github.com/thamerh/e-commerce
- Owner: thamerh
- Created: 2023-07-08T09:00:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T14:24:23.000Z (12 months ago)
- Last Synced: 2023-11-18T15:54:22.802Z (12 months ago)
- Topics: ecommerce, mongodb, mongoose, nextjs, stripe
- Language: JavaScript
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eCommerce Website
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Deployment](#deployment)
- [Contributing](#contributing)
- [License](#license)## Introduction
Welcome to eCommerce website built with Next.js, MongoDB, and Stripe. This project aims to provide a scalable and modern solution for online commerce.
## Features
- **Next.js**: Utilizes the power of React with server-side rendering for a fast and responsive user experience.
- **MongoDB**: Database storage for your product information, orders, and user data.
- **Stripe Integration**: Secure payment processing for a seamless checkout experience.
- **Responsive Design**: Ensures a consistent experience across various devices.## Requirements
Make sure you have the following installed before running the application:
- [Node.js](https://nodejs.org/)
- [MongoDB](https://www.mongodb.com/)
- [Stripe Account](https://stripe.com/)## Installation
1. Clone the repository:
```bash
git clone https://github.com/thamerh/e-commerce.git
2. Navigate to the project folder:
cd e-commerce
3. Install dependencies:
npm install
## Configuration1. MongoDB Configuration:
- Create a MongoDB database for your project.
- Copy the .env.example file to `.env` and update the MongoDB connection string:
MONGODB_URI=mongodb+srv://:@cluster.mongodb.net/
2. Stripe Configuration:
- Sign in to your Stripe account and get your API keys.
- Update the `.env` file with your Stripe API keys:
STRIPE_PUBLIC_KEY=your_public_key
STRIPE_SECRET_KEY=your_secret_key
## UsageRun the development server:
npm run dev
Visit http://localhost:3000 in your browser.
## Deployment
To deploy eCommerce website, follow the deployment guidelines for Next.js.## Contributing
Contributions are welcome! Please follow the contribution guidelines.