Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mishaa931/django-business-central-api-integration-and-celery

A Django app for integrating with the Business Central API, featuring RESTful APIs and Celery for background tasks. Manages customer data and handles data synchronization with best practices in API development and task processing.
https://github.com/mishaa931/django-business-central-api-integration-and-celery

business-central business-central-api-integration celery celery-beat celery-result django django-orm django-orm-crud django-rest-framework microsoft-business-central redis restful-api

Last synced: 3 days ago
JSON representation

A Django app for integrating with the Business Central API, featuring RESTful APIs and Celery for background tasks. Manages customer data and handles data synchronization with best practices in API development and task processing.

Awesome Lists containing this project

README

        

# Django Business Central Integration

## Overview

A Django application designed to integrate with the Business Central API. This project includes RESTful APIs for managing customer data, Celery for asynchronous task processing, and custom functionalities for data synchronization.

## Features

- **RESTful APIs**: CRUD operations for customer data.
- **Celery Integration**: Background task processing for data synchronization.
- **Environment Configuration**: Secure management of sensitive settings using `.env`.

## Installation

1. **Clone the Repository**

git clone https://github.com/Mishaa931/Django-Business-Central-API-Integration-and-Celery.git
cd django-business-central-integration

2. **Create and Activate a Virtual Environment**

python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate

3. **Create and Activate a Virtual Environment**

pip install -r requirements.txt

4. **Set Up Environment Variables**

Create a .env file in the root directory and add your configuration settings:

SECRET_KEY=your_secret_key
DEBUG=True
ALLOWED_HOSTS=127.0.0.1,localhost

DB_NAME=your_db_name
DB_USER=your_db_user
DB_PASSWORD=your_db_password
DB_HOST=localhost
DB_PORT=5432

6. **Run Migrations**

python manage.py migrate

7. **Start the Development Server**

python manage.py runserver

## Usage
* API Endpoints: Access the RESTful APIs at http://127.0.0.1:8000/api/.
* Celery Tasks: Use Celery for background tasks and data synchronization.