This project is an Express application built with TypeScript, integrating MongoDB using Mongoose for effective data management. It ensures data integrity through validation using Zod.
- Express server with TypeScript.
 - MongoDB integration using Mongoose.
 - Modules for Product and Order with appropriate data types and validations.
 - Data integrity validation using Zod.
 - RESTful API endpoints for managing products and orders.
 
- Node.js (v20.12.12 recommended)
 - MongoDB (running instance or MongoDB Atlas)
 - npm
 - Git
 
 git clone  https://github.com/syedfarhanreza/NexGen-Fitness-server.git
 cd nexgen-fitness-serverOpen the project file in the terminal and run npm install
npm installCreate a .env  file in the root directory and add the following:
NODE_ENV= development
MONGO_URI=your_mongo_db_connection_string
BCRYPT_SALT_ROUNDS= enter any rounds (ex- 8,12)
PORT=5000
STRIPE_SK= your stripe secret key
npm run start:dev