Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.67 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.67 KB

🌟 Generic API + Docker + DRF 🚀

This project serves as an educational example of creating an API using Generic Views in Django. The project is authored by Marselle. You can contact the author here.

Project Description

Generic API Project demonstrates the use of Django to create an API using Generic Views. Generic Views provide a convenient way to handle various CRUD (Create, Retrieve, Update, Delete) operations for Django models.

Installation

  1. Clone the repository:

    git clone [email protected]:nasirovx/Generic-Api.git
  2. Navigate to the project directory:

    cd Generic-Api
  3. Install dependencies:

    pip install -r requirements.txt
  4. Apply migrations:

    python manage.py migrate

Running the Project

  1. Start the development server:

    python manage.py runserver
  2. Open a web browser and go to http://localhost:8000/ to access the API.

Using the API

The project includes several Generic Views for the model that can be used to perform various CRUD operations. You should also familiarize yourself with Django REST framework for more detailed information on creating APIs with Django.

Contact the Author

The project author, Marselle, is available on Instagram. Feel free to reach out to him for feedback, questions, or additional information.

License

This project is distributed under the MIT License. You are free to use, modify, and distribute it in accordance with the terms of this license.