This is a simple blog application developed to practice CRUD (Create, Read, Update, Delete) functionality in web development. It allows users to create, read, update, and delete blog posts.
- Create: Users can create new blog posts with a title, content.
- Read: Users can view existing blog posts with their titles, content.
- Update: Users can edit their own blog posts to modify the title, content, or image.
- Delete: Users can delete their own blog posts permanently.
- Backend: Python, Django REST framework
- Database: sqlite3
To run this application on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/GauravTheBeginner/blog-app.git
-
Install Python dependencies:
cd blog-app/mysite pip install -r requirements.txt
-
Apply migrations and set up the database:
python manage.py makemigrations python manage.py migrate
-
Run the backend server:
python manage.py runserver
-
Access the application in your web browser at http://127.0.0.1:8000/api/blogposts/.
Contributions are welcome! If you find any bugs or have suggestions for improvement, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.