ProdEase is a centralized platform designed to streamline the management of products for team members and admins in a fictional product-based company. From submissions to reviews, ProdEase offers a seamless and precise workflow for efficient product management.
- Secure user authentication using JWT.
- Product image storage via Firebase.
- Robust data storage with MongoDB for users, contacts, and other metadata.
- Built with Next.js for a fast and dynamic user experience.
- Frontend & Backend: Next.js
- Database: MongoDB
- Authentication: JWT
- Cloud Storage: Firebase
Follow the steps below to set up and run the project locally.
- Node.js: Install the latest version of Node.js from Node.js official website.
- Firebase Account:
- Create a Firebase project at Firebase Console.
- Enable Firestore Database and Cloud Storage.
- MongoDB Database:
- Set up a MongoDB instance. You can use MongoDB Atlas or a local MongoDB installation.
Create a .env.local
file in the root directory of the project and include the following keys:
MONGODB_URI=<Your MongoDB connection string>
JWT_SECRET=<Your JWT secret key>
NEXT_PUBLIC_FIREBASE_API_KEY=<Your Firebase API key>
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=<Your Firebase Auth Domain>
NEXT_PUBLIC_FIREBASE_PROJECT_ID=<Your Firebase Project ID>
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=<Your Firebase Storage Bucket>
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=<Your Firebase Messaging Sender ID>
NEXT_PUBLIC_FIREBASE_APP_ID=<Your Firebase App ID>
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=<Your Firebase Measurement ID>
Replace the placeholders with the actual values from your Firebase and MongoDB setups.
-
Clone the repository:
git clone https://github.com/your-username/prodease.git cd prodease
-
Install dependencies:
npm install
-
Set up Firebase:
- Go to the Firebase Console.
- Navigate to the Project Settings > General.
- Copy the Firebase configuration details and update your
.env.local
file.
-
Set up MongoDB:
- Create a MongoDB database.
- Obtain the connection string and update your
.env.local
file.
-
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:3000
-
Fork the repository.
-
Create a new branch for your feature/fix.
git checkout -b feature-name
-
Commit your changes.
git commit -m "Add feature/fix"
-
Push to your branch and submit a pull request.
git push origin feature-name