F_STORE is an eCommerce website designed for selling gents shirts. This project demonstrates full-stack JavaScript development with Express.js, MongoDB, and responsive front-end web development. Key features include product browsing, a shopping cart, user authentication, secure checkout, and an admin panel.
- Product Browsing: Users can view a list of available shirts with details.
- Shopping Cart: Users can add shirts to their cart, update quantities, and remove items.
- User Authentication: Secure user registration and login system.
- Secure Checkout: Secure payment processing with integrated payment gateways.
- Admin Panel: Admins can manage products, view orders, and handle user queries.
- Responsive Design: Mobile-friendly design ensuring a seamless experience on all devices.
- Frontend:
- HTML
- CSS
- JavaScript (ES6+)
- Bootstrap
- Backend:
- Node.js
- Express.js
- MongoDB
- Authentication:
- Passport.js
- JWT (JSON Web Tokens)
- Payment Integration:
- Razorpay
- Other Tools:
- Postman
- Node.js and npm installed
- MongoDB installed and running
- Stripe/Razorpay account for payment integration
-
Clone the repository:
git clone https://github.com/Krishnadas-N/Ecommerce-Project-Fstore.git cd F_STORE
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and add the following:NODE_ENV=development PORT=3000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret RAZORPAY_KEY_ID=your_razorpay_key_id RAZORPAY_KEY_SECRET=your_razorpay_key_secret
-
Run the application:
npm start
-
Open your browser and visit
http://localhost:3000
F_STORE/
├── models/ # Mongoose models
├── routes/ # Express routes
├── controllers/ # Route handlers
├── views/ # EJS templates
├── public/ # Static files (CSS, JS, images)
├── config/ # Configuration files
├── .env # Environment variables
├── app.js # Main application file
├── package.json # NPM dependencies and scripts
└── README.md # Project documentation
Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.