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.
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.
-
Clone the repository:
git clone [email protected]:nasirovx/Generic-Api.git
-
Navigate to the project directory:
cd Generic-Api
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open a web browser and go to http://localhost:8000/ to access 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.
The project author, Marselle, is available on Instagram. Feel free to reach out to him for feedback, questions, or additional information.
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.