Before you run the project, make sure to follow the steps below to properly set up the environment, generate necessary files, and run the tests.
You need to set up the .env
file in the root directory of the project with your environment-specific variables.
Create a .env
file in the root directory and include the following keys (replace with your values):
STRIPE_TEST_PUBLISHABLE_KEY=your_publishable_key
STRIPE_TEST_SECRET_KEY=your_secret_key
Run the following command to generate the necessary files (e.g., mocks, code related to the environment variables):
dart run build_runner build
User View
- View Products
- Search Products
- Add Products to Cart
- Purchase Products
- Add to Favorites
- View Purchase History
- Download Purchased Products
- View Notifications
- Change Theme
- Change Language
Admin View
- Access Admin Dashboard
- Manage Products
- Manage Categories
- Manage Users
- Manage Notifications
- Change Theme
- Change Language