Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tahsinzidane/sneakernest
sneakerNest full stack sneakers selling online store
https://github.com/tahsinzidane/sneakernest
e-commerce-project ejs expressjs nodejs
Last synced: about 17 hours ago
JSON representation
sneakerNest full stack sneakers selling online store
- Host: GitHub
- URL: https://github.com/tahsinzidane/sneakernest
- Owner: tahsinzidane
- License: mit
- Created: 2024-12-30T17:37:12.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2025-01-09T15:39:36.000Z (5 days ago)
- Last Synced: 2025-01-09T16:54:40.683Z (5 days ago)
- Topics: e-commerce-project, ejs, expressjs, nodejs
- Language: EJS
- Homepage:
- Size: 6.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SneakerNest ποΈ
**SneakerNest** is a single-vendor e-commerce platform designed for selling sneakers, hoodies, and full-sleeve T-shirts during winter. The primary purpose of this project is to test my backend development skills and explore how well I can handle server-side functionality, database integration, and user authentication.
---
## Current Status
This project is a **work in progress**, and the backend is the main area of focus. While the basic structure and features are functional, thereβs still a lot to improve and polish before it can be considered complete.
---
## Key Highlights
- **Dynamic Product Management**: Products can be displayed with details like price, description, stock availability, and tags.
- **Authentication**: Basic user login and registration using Passport.js (local strategy and Google OAuth).
- **Backend Focus**: Testing my abilities in building APIs, integrating MongoDB, and implementing secure features.
- **Templating**: Using EJS for server-side rendering to dynamically display data.
-----## Local Setup
Before running **SneakerNest** locally, ensure you have the following prerequisites:
### Prerequisites
- **Node.js** (version 14 or higher)
- **MongoDB** (locally or use MongoDB Atlas)### Steps to Set Up Locally
1. **Clone the Repository**
Clone the project repository to your local machine:
```bash
git clone https://github.com/tahsinzidane/sneakerNest.git
cd sneakernest
```2. **Install Dependencies**
Run the following command to install the necessary dependencies:
```bash
npm install
```3. **Environment Variables**
Create a `.env` file in the root directory and add the following variables:
- **PORT**: Port number (default: `4000`)
- **MONGO_URI**: Your MongoDB connection URI
- **SESSION_SECRET**: A secret key for session managementExample:
```env
PORT=4000
MONGO_URI=mongodb://localhost:27017/sneakernest
SESSION_SECRET=your-session-secret
```4. **Start the Server**
After setting up the environment variables, run the following command to start the application:
```bash
npm start
```
The server will run on `http://localhost:4000`.5. **Access the Application**
Open a browser and visit `http://localhost:4000` to access the SneakerNest application.---
### Additional Information
- **Database**: MongoDB is used as the database for storing product and user data.
- **Testing**: You can run the application to test backend functionality, such as adding products,registering users, etc.---
## License
this project under the [mit License](/LICENSE)