Francis-Mwaniki / django-book-crud

Django CRUD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django CRUD Book App

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.

Features

  • List all available books
  • Create a new book
  • Update book details
  • Delete a book

Technologies Used

  • Python 3.10
  • Django 5.0.4
  • HTML
  • CSS

Getting Started

Follow these steps to set up and run the project on your local machine:

Prerequisites

  • Python 3.6 or higher
  • pip (Python package installer)

Installation

  1. Clone the repository:
git clone git@github.com:Francis-Mwaniki/django-book-crud.git
  1. Navigate to the project directory:
cd django-crud-book-app
  1. Create a virtual environment and activate it:
python3 -m venv myenv
source myenv/bin/activate  # On Windows, use `myenv\Scripts\activate`
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Apply the database migrations:
python manage.py migrate

Usage

  1. Start the development server:
python manage.py runserver
  1. Open your web browser and navigate to http://localhost:8000 to access the application.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Django CRUD.


Languages

Language:Python 52.7%Language:HTML 47.3%