(names and surnames, email addresses):
- Bartłomiej Szubiak bszubiak@student.agh.edu.pl
- Szymon Kubiczek kubiczek@student.agh.edu.pl
- Konrad Armatys karmatys@student.agh.edu.pl
Online store
- MongoDB 🍃
- Node.js 🚀
- Express.js 🌐
- Mongoose 🗃️
- multer 📸 (file transfer)
- cors 🌍 (access from different sources)
- bcrypt 🔐 (password hashing)
- jsonwebtoken 🛡️ (JWT authorization)
- async-mutex ⏳ (concurrency management)
- helmet 🪖 (HTTP header security)
- hpp 🛡️ (protection against HTTP Parameter Pollution attacks)
- express-mongo-sanitize 🧹 (MongoDB query sanitization)
- xss-clean 🧼 (protection against XSS)
- React ⚛️
As part of this project, we have created a comprehensive online store using the MERN technology stack (MongoDB, Express.js, React, Node.js). The project assumes the creation of an intuitive user interface and an efficient backend that supports all the necessary functions of an online store, such as:
- 🛍️ Browsing products
- 🛒 Adding products to the cart
- 👤 User registration and login
- 🛡️ Secure data storage
- Authorization and authentication 🔒
- File handling 📦
- HTTP request handling 🌐
- Dynamic user interfaces 🖥️
- Responsiveness 📱
- Integration with the backend 🔗
- Registration 👤
- Login 🔑
- Logout 🔒
- Browsing products 👀
- Adding products to the cart 🛒
- Viewing the cart 📝
- Removing products from the cart ❌
- Placing an order 📦
- Adding products ➕
- Viewing product sales 📊
- Viewing user data (without sensitive data) 👥
-
Environment preparation:
- MongoDB: MongoDB Installation
- Node.js: Node.js Installation
-
Repository cloning:
git clone https://github.com/Simsoftcik/BD2Projekt.git cd BD2Projekt -
Dependency installation:
-
Backend:
cd backend npm install -
Frontend for Client:
cd frontend npm install -
Frontend for Admin:
cd admin npm install
-
-
Server launch:
- Backend:
cd backend npm run start - Frontend for Client:
cd frontend npm run build - Frontend for Admin:
cd admin npm run build
- Backend:
The online store project based on the MERN technology stack is an example of a modern, scalable web application that combines advanced features and care for data security. Thanks to the use of popular tools and libraries, our application is both efficient and easy to maintain.