This is a simple Django web application that allows you to perform CRUD (Create, Read, Update, Delete) operations on books. The application provides a user-friendly interface for managing a book list, adding new books, updating existing books, and deleting books.
- List all available books
- Create a new book
- Update book details
- Delete a book
- Python 3.10
- Django 5.0.4
- HTML
- CSS
Follow these steps to set up and run the project on your local machine:
- Python 3.6 or higher
- pip (Python package installer)
- Clone the repository:
git clone git@github.com:Francis-Mwaniki/django-book-crud.git
- Navigate to the project directory:
cd django-crud-book-app
- Create a virtual environment and activate it:
python3 -m venv myenv
source myenv/bin/activate # On Windows, use `myenv\Scripts\activate`
- Install the required dependencies:
pip install -r requirements.txt
- Apply the database migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
- Open your web browser and navigate to
http://localhost:8000
to access the application.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.