DjangoProjects

Official Documenation: https://docs.djangoproject.com/en/4.2/

Getting Started

Follow these steps to set up and run the application:

  1. Clone the repository:

    https://github.com/tmatin100/DjangoProjects

  2. Change directory into any sample project, create a virtual environment and install dependencies:

    cd django_rest_framework
    python -m venv venv
    . venv/bin/activate
    on Windows: venv\Scripts\activate
    pip install -r requirements.txt
  3. Create a Django project and name it config in the current directory:

    django-admin startproject config .
  4. Create a Django app named test_app:

    python manage.py startapp
  5. Run the server:

    python manage.py runserver
  6. Usage To use the application, navigate to http://127.0.0.1:8000/ in your web browser.

    You can also access the API at http://localhost:8000/api