This repository contains the front-end and back-end code for an animated e-commerce website built using Node.js, Express.js, and MongoDB. The website features smooth scrolling effects powered by Locomotive Scroll and includes various animations to enhance the user experience.
- HTML, CSS, JavaScript: For building the front-end with responsive design and animations.
- Locomotive Scroll: For implementing smooth scrolling effects.
- Node.js: For building the server-side application and handling asynchronous operations.
- Express.js: As the web application framework to manage routes, middleware, and server-side logic.
- MongoDB: For the database to store product details, user information, and order data.
- User authentication and account management.
- Product listing and detailed product pages.
- Cart functionality with add-to-cart feature.
- Responsive design with a focus on aesthetics and user experience.
- Clone the repository:
https://github.com/Ravi-1606/Kaagaz--E-commerce-Website-for-Books-and-Novels
- Navigate to the project directory:
cd kaagaz
-
npm install
Create a .env file in the root directory and add the following:
PORT=3000 MONGODB_URI=your_mongodb_connection_string SESSION_SECRET=your_session_secret
-
npm start
- Open your browser and go to http://localhost:3000
Feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
- Create a new branch (git checkout -b feature-branch)
- Make your changes
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature-branch)
- Create a new Pull Request
This project is licensed under the MIT License.