This project is an online shop website that allows users to browse products, add items to their cart, and make purchases. It features two types of users: regular customers and employees. Regular customers can browse products, add them to their cart, and proceed to checkout. Employees have additional privileges such as modifying product listings and managing inventory.
User Authentication and Authorization: Secure login and access control for both regular customers and employees. Product Management: Employees can add, edit, and delete products from the inventory. Shopping Cart: Users can add items to their cart and proceed to checkout for purchase. Server Integration: Utilizes a server to handle requests and interact with the database.
Frontend: React.js for the user interface and client-side interactions. Backend: Flask, SQLAlchemy, and Flask-JWT-Extended for server-side logic, database management, and user authentication. State Management: Context API and custom hooks for managing application state. Styling: CSS for styling and layout design. Routing: React Router for managing navigation within the application.
- Clone the repository
- Install dependencies using
npm inroot project folder andpip install -r requirements.txtfor backend. - Start backend server with
python app.pyand frontend withnpm start
To see the website from admin perspective you can use as login: admin@test.com password: admin.
For customer you can either create account with imaginary data or use e.g test@gmail.com, password: test
Aspects of the app that are still in the development state:
- simulation of items purchase (with backend consistency)
- responsivity (view adjustments for tablets and phones)
- and more

