This is the backend API for the ShopEase e-commerce application, built with Node.js, Express, TypeScript, and PostgreSQL.
- User authentication and authorization
- Product management (CRUD operations)
- Order processing
- Payment processing (UPI and Card)
- Image upload functionality
- Admin dashboard functionality
- Node.js - JavaScript runtime
- Express - Web framework
- TypeScript - Type safety
- PostgreSQL - Database
- JWT - Authentication
- Multer - File uploads
- Winston - Logging
- Node.js 16+ and npm
- PostgreSQL database
- Git
-
Clone the repository:
git clone https://github.com/yourusername/ecom-backend.git cd ecom-backend -
Install dependencies:
npm install
Create a .env file in the root directory with the following variables: