ReadRealm is a web application that provides users with a platform to explore books, manage user profiles, view book details, and interact with followers. The app utilizes a database to manage user and book data and provides a simple interface for book enthusiasts to connect and explore.
-
Clone the repository to your local machine:
git clone https://github.com/harshitha0923/ReadRealm.git
-
Navigate to the project directory:
cd ReadRealm_SourceCode
-
Create and activate a virtual environment (optional but recommended):
python3 -m venv .venv source .venv/bin/activate # For Linux/Mac .venv\Scripts\activate # For Windows
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up the database configuration by modifying the
db.yaml
file to match your database settings.
ReadRealm/
│
├── app.py # Main application file
├── db.yaml # Database configuration
├── static/ # Static assets (CSS, images, JavaScript)
│ ├── images/ # Image files
│ ├── styles/ # CSS stylesheets
│ └── scripts/ # JavaScript files
├── templates/ # HTML templates for the web pages
│ ├── home.html # Home page
│ ├── book_details.html # Book details page
│ ├── user_profile.html # User profile page
│ ├── register.html # User registration page
│ └── login.html # Login page
├── ReadMe.txt # Basic project documentation
└── database_project_v1.sql # SQL script to initialize the database
-
Start the application by running the following command:
python app.py
-
Open a web browser and go to
http://localhost:5000
to access the app.
- Use the
database_project_v1.sql
script located in the root directory to set up the database. - Ensure that the database credentials match those specified in the
db.yaml
file.
- User registration and login
- User profile management
- Viewing book details
- Interacting with other users (following/unfollowing)
- Python: Main programming language
- Flask: Web framework
- SQLite/MySQL: Database (configured via
db.yaml
) - HTML/CSS/JavaScript: Frontend technologies
- YAML: For database configuration
- SQL: For database schema