https://github.com/mynkchn/blog-application
Blog application for multiple users
https://github.com/mynkchn/blog-application
bootstrap css django html5 javascript python3 sqlite
Last synced: 3 months ago
JSON representation
Blog application for multiple users
- Host: GitHub
- URL: https://github.com/mynkchn/blog-application
- Owner: mynkchn
- Created: 2025-01-16T17:42:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-16T17:50:31.000Z (over 1 year ago)
- Last Synced: 2025-03-09T14:43:33.452Z (over 1 year ago)
- Topics: bootstrap, css, django, html5, javascript, python3, sqlite
- Language: HTML
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlogBridges
## Description
BlogBridges is a simple blog application built with Django. It allows users to create, view, and manage blog posts while providing user authentication features.
## Features
- User authentication (signup, login, logout)
- Create, view, and manage posts
## Installation
1. Clone the repository:
```bash
git clone
```
2. Navigate to the project directory:
```bash
cd django_blog
```
3. Install the required dependencies:
```bash
pip install -r requirements.txt
```
4. Run migrations:
```bash
python manage.py migrate
```
## Usage
To run the application, use the following command:
```bash
python manage.py runserver
```
Then, open your browser and go to `http://127.0.0.1:8000/`.
## URL Routing
The following URL patterns are defined in the application:
- `/signup/` - User signup
- `/loginn/` - User login
- `/signout/` - User logout
- `/` - Home page displaying all posts
- `/newpost/` - Create a new post
- `/mypost/` - View posts created by the logged-in user
## Data Models
The application includes the following model:
- **Post**
- `title`: CharField (max_length=100)
- `user`: ForeignKey (User)
- `content`: TextField
- `date`: DateTimeField (auto_now_add=True)
## Templates
The application uses Django templates for rendering HTML. The base template is `base.html`, which includes Bootstrap for styling.
## Contributing
Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.
## License
This project is licensed under the MIT License.