The RestAPI Python Blog Website is a fully functional blog application built with Django. This project demonstrates the use of RESTful API principles to handle blog content, allowing users to create, read, update, and delete blog posts.
- User authentication (login, registration, and logout)
- CRUD operations for blog posts
- User profiles with customizable information
- Comment system for blog posts
- Pagination for easy navigation through posts
- Responsive design for optimal viewing on mobile and desktop devices
- RESTful API for integration with front-end applications
- Backend: Django, Django REST Framework
- Database: SQLite (or PostgreSQL, MySQL)
- Frontend: HTML, CSS, JavaScript (if applicable)
- Version Control: Git
- Deployment: Heroku / Vercel / Local Server
- Python 3.x
- pip (Python package installer)
- Git
git clone https://github.com/abinjustinkumaravel/RestAPI_Python_Blog_website.git
cd RestAPI_Python_Blog_website
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Navigate to http://127.0.0.1:8000/
in your browser to view the blog website.
- POST
/api/register/
- Register a new user - POST
/api/login/
- Login a user - GET
/api/posts/
- Retrieve all blog posts - POST
/api/posts/
- Create a new blog post - GET
/api/posts/{id}/
- Retrieve a specific blog post - PUT
/api/posts/{id}/
- Update a specific blog post - DELETE
/api/posts/{id}/
- Delete a specific blog post
- Register a new account.
- Log in with your credentials.
- Create, edit, or delete blog posts as an authenticated user.
- Browse through existing posts.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes and commit (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For inquiries, please reach out via:
- GitHub: abinjustinkumaravel