This is a SolarEdge Django-based blog project application that fetches posts and comments from the JSONPlaceholder API and displays them.
- Post List: Displays all posts fetched from the JSONPlaceholder API with a snippet of the content.
- Post Detail View: Allows users to click on a post to view its full content and associated comments.
- Pagination: Divides the posts into multiple pages for better navigation.
- Responsive Design: Styled using custom CSS for a clean and user-friendly interface.
-
Clone the Repository
Use the following command to clone the repository:
git clone https://github.com/morbenami1/SolarEdgeMor.git cd SolarEdge_project -
Install Dependencies
pip install -r requirements.txt
-
Run Database Migrations
python manage.py migrate
-
Run the Development Server
python manage.py runserver
-
Access the Application
Open your web browser and go to: http://127.0.0.1:8000/