Announcement API Application

This Django application is developed to provide API endpoints for various functionalities, including user management, announcement creation, and retrieval.

General Information

Announcement is a Django application developed for building APIs. It allows users to perform various operations related to user management and announcements. The application is built using Django and Django REST Framework (DRF) to provide a robust and scalable API solution.

Setup and Installation

To run the project locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the required dependencies using the command: pip install -r requirements.txt.
  3. Configure the database settings in the project's settings file.
  4. Apply the database migrations using the command: [Add the appropriate command to apply migrations].
  5. Start the Django development server using the command: python manage.py runserver

Swagger Documentation

The API endpoints are documented using Swagger, which provides an interactive interface to explore and test the available endpoints. To access the Swagger documentation:

  1. Start the Django development server.
  2. Open your web browser and navigate to the following URL: http://localhost:8000/swagger/ (replace localhost:8000 with the appropriate host and port if necessary).
  3. The Swagger documentation will be displayed, showing the available endpoints, request/response schemas, and allowing you to interact with the API.

By using the Swagger documentation, you can easily explore the API endpoints, their request/response structures, and test them directly from the browser.

Note: Make sure to authenticate or provide necessary parameters when required by the API endpoints to test them successfully.