https://github.com/sajib689/e-store-server
https://github.com/sajib689/e-store-server
cors dotenv express mongodb nodejs
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sajib689/e-store-server
- Owner: sajib689
- Created: 2024-08-15T11:47:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T05:15:17.000Z (almost 2 years ago)
- Last Synced: 2025-11-21T23:03:28.372Z (7 months ago)
- Topics: cors, dotenv, express, mongodb, nodejs
- Language: JavaScript
- Homepage: https://e-commerce-server-sepia.vercel.app/
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# e-Store Server
This is the backend server for the e-store application. It provides APIs for managing products, including features like pagination, searching, sorting, and filtering.
## Features
- **Products API**: Fetch products with pagination, search, sort, and filter options.
- **CORS Enabled**: Cross-Origin Resource Sharing (CORS) is enabled for seamless integration with front-end applications.
- **Environment Variables**: Uses `.env` file to securely manage sensitive information.
## Technologies Used
- **Node.js**: JavaScript runtime for the server.
- **Express.js**: Web framework for handling HTTP requests and middleware.
- **MongoDB**: NoSQL database for storing product data.
- **dotenv**: For managing environment variables.
- **cors**: For enabling Cross-Origin Resource Sharing.
## Getting Started
### Prerequisites
- Node.js installed on your machine.
- A MongoDB database URI (can use MongoDB Atlas for a cloud database).
### Installation
1. Clone the repository:
```bash
git clone https://github.com/sajib689/e-store-server.git
cd e-store-server