Cherie is a reselling store web application developed on implementing AWS services (EC2, DynamoDB, and S3) as well as CRUD operations. This project focuses on user authentication (using static user/password for basic authentication), Bootstrap CSS styling, and pagination for lists with more than 10 rows.
- User authentication with basic static credentials.
- Bootstrap CSS styling for an enhanced user interface.
- Pagination for lists with more than 10 rows.
-
Clone this repository to your local machine using Git:
git clone <repository_url>
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure your environment variables.
-
Run the Flask application:
python run.py
-
Create a .env file in the root directory.
-
Add the following environment variables to the .env file:
AWS_ACCESS_KEY_ID="<AWS_ACCESS_KEY_ID>" AWS_SECRET_ACCESS_KEY="<AWS_SECRET_ACCESS_KEY>" AWS_DEFAULT_REGION="<AWS_DEFAULT_REGION>" SECRET_KEY="<SECRET_KEY>"