Skip to content

Initialize the base structure#1

Merged
InduwaraRathnayake merged 2 commits into
mainfrom
in-05-02/1
May 2, 2025
Merged

Initialize the base structure#1
InduwaraRathnayake merged 2 commits into
mainfrom
in-05-02/1

Conversation

@InduwaraRathnayake
Copy link
Copy Markdown
Contributor

This pull request introduces the initial setup for a Django-based forecasting service. It includes configurations for CI, project structure, and key components such as settings, URLs, and a sample API endpoint. Below is a summary of the most important changes grouped by theme.

CI and Build Configuration

  • Added a GitHub Actions workflow (.github/workflows/ci.yml) for continuous integration, including steps for setting up Python, installing dependencies, running migrations, and executing tests.

Project Setup and Configuration

  • Created a Makefile with commands for setting up the virtual environment, installing dependencies, running the server, and managing migrations and tests.
  • Added Django project configuration files, including settings.py, urls.py, asgi.py, and wsgi.py, to set up the core project structure and enable API routing. [1] [2] [3] [4]

Documentation

  • Created a detailed README.md with project setup instructions, API usage examples, and guidance on adding new products or integrating with external services.

Core Application Components

  • Initialized the forecaster app with placeholder files for models, views, URLs, and utility functions. These include a root API endpoint and stubs for forecasting logic and warehouse API integration. [1] [2] [3] [4] [5] [6] [7] [8]

Dependencies and Integration

  • Configured the forecaster app to use Django REST Framework for API development and CORS headers for cross-origin requests.

This setup establishes the foundation for the forecasting service, enabling further development of forecasting logic, API endpoints, and integration with external systems.

@InduwaraRathnayake InduwaraRathnayake merged commit 6419775 into main May 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant