Skip to content

About

Django REST API for working with the Instagram Graph API: pulls posts from a connected account, persists them to PostgreSQL, and sends comments back through the API. Containerised with Docker Compose — one .env file and docker-compose up --build gets it running.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

Instagram Sync API

Django REST API for:

  1. Syncing posts from Instagram
  2. Saving data to PostgreSQL
  3. Sending comments via the Instagram Graph API

Running with Docker

1. Create a .env file in the project root

SECRET_KEY=your_django_secret_key
DATABASE_NAME=instagram_db
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_HOST=db
DATABASE_PORT=5432
INSTAGRAM_ACCESS_TOKEN=your_instagram_token

2. Build and run the container

docker-compose up --build

The application will be available at: http://127.0.0.1:8000/

About

Django REST API for working with the Instagram Graph API: pulls posts from a connected account, persists them to PostgreSQL, and sends comments back through the API. Containerised with Docker Compose — one .env file and docker-compose up --build gets it running.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages