{"id":22793424,"url":"https://github.com/fivetran/django-code-sample","last_synced_at":"2026-02-19T00:32:27.575Z","repository":{"id":48384023,"uuid":"381125943","full_name":"fivetran/Django-Code-Sample","owner":"fivetran","description":"Sample implementation of Fivetran's REST API using Django/Python3","archived":false,"fork":false,"pushed_at":"2022-01-24T22:27:27.000Z","size":18811,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":46,"default_branch":"main","last_synced_at":"2025-10-25T13:59:08.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fivetran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-28T18:24:55.000Z","updated_at":"2022-06-29T20:49:47.000Z","dependencies_parsed_at":"2022-08-26T00:12:57.868Z","dependency_job_id":null,"html_url":"https://github.com/fivetran/Django-Code-Sample","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fivetran/Django-Code-Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2FDjango-Code-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2FDjango-Code-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2FDjango-Code-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2FDjango-Code-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fivetran","download_url":"https://codeload.github.com/fivetran/Django-Code-Sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2FDjango-Code-Sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29599356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T03:19:50.689Z","updated_at":"2026-02-19T00:32:27.521Z","avatar_url":"https://github.com/fivetran.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nUplift on the current vandelay demo page. [Where do I recognize this name from](https://seinfeld.fandom.com/wiki/Vandelay_Industries)?\n\n\n# 📣 Prerequisite\n\n## Have the right packages installed in your local environment\n* Make sure you have [brew](https://brew.sh/) installed\n* Make sure you have pip installed (comes with [Python 3 installation via Brew](https://docs.python-guide.org/starting/install3/osx/))\n* Make sure you have virtualenv installed (`pip install virtualenv`)\n* Make sure you have [node](https://nodejs.org/en/) installed\n* Make sure you're using Python 3 `python --version` or `python3 --version`\n\n## Have a working destination synced in your Fivetran account\nGo to your Fivetran account and setup a destination via the UI. This will assign you a `group_id` which you should be able to gather from the following steps:\n\n1. Go to https://fivetran.com/warehouses and select your warehouse\n2. Navigate to the `Destination` tab and select the destination that you setup in the prerequisite step\n3. Navigate to the `Connection Details` area and scroll down to where it says `Destination Group ID` to see your value.\n4. Copy this value down as it is very important for a live, data flowing, application.\n\n\n# 🏃 Quickstart\n\n## 0. Create a new directory in your development directory environment\n```\n$ cd Desktop/dev\n$ mkdir PBFDemo \u0026\u0026 cd PBFDemo\n```\n\n## 1. Clone this repository into the previously created directory\n ```\n $ cd PBFDemo \u0026\u0026 git clone https://github.com/fivetran-connorbrereton/Django-Code-Sample.git\n $ cd Django-Code-Sample\n ```\n \n## 2. Navigate to the directory where the `settings.py` file lives and create an environment variable file\n ```\n $ cd vandelay_project/vandelay_project\n $ touch .env\n \u003copen the .env file using your favorite text editor\u003e\n ```\n \n## 3. Add in your API_KEY and API_SECRET from your Fivetran account preferences\n Note that it is *crucial* you use the exact same format as seen below as this file is case sensitive.\n ```\n API_KEY=\u003cYOUR_API_KEY\u003e\n API_SECRET=\u003cYOUR_API_SECRET\u003e\n ```\nTo avoid any issues just copy and paste the code above into your own `.env` file. Make sure you replace the temporary variables with your own API_KEY and API_SECRET.\n\n## 4. Add your Group ID to the `parameters.py` file in the Django project\nThe `parameters.py` file is located in the following directory: `Django-Code-Sample/vandelay_project/vandelay_app`. You just need to go to **line 11** and place in your string value for the Group ID.\n\n## 5. Add your Group ID to the `app_funcs.py` flie in the Django project\nThe `app_funcs.py` file is located in the following directory: `Django-Code-Sample/vandelay_project/vandelay_app`. You just need to go to **line 9** and place in your string value for the Group ID in the 1st index. Do not touch the 0th index please :)\n\n## 6. Navigate to the root folder of the project directory and run the shell script to get the demo environment installed and started\n```\n$ cd ../..\n$ ./setup.sh\n```\n\n## 7. Exit tailwind and render the Django view.\nHit `CTRL-C` to exit the tailwind server and return to the Django server page being rendered.\n\n## 8. Open the demo app in your browser.\nGo to `localhost:8000` and view the rendered application.\n\n# ‼️ Important Notes ‼️\n- When you setup the demo environment you can only use one instance of each connector. If you click on the connector multiple times you will be promted with the following error:\n```\nError occured - Failed while posting on https://api.fivetran.com/v1/connectors {\"code\":\"SchemaExists\",\"message\":\"An integration with schema \\\"test_oracle\\\" already exists, please choose a different schema\"}\n```\n\n- The only way to resolve this error is to go to the `Connectors` section of your Fivetran Dashboard and delete the already existing instance of the connector you're trying to configure.\n\n- After deleting the connector retry the connector creation flow and be patient with the process. In your terminal you will see a payload that looks like (below) this when the request has finished rendering. You will shortly see the UI render after this response body has been posted to standard output.\n```\n[03/Nov/2021 17:45:36] \"GET /pbf/connect-card/?service=oracle_rds HTTP/1.1\" 200 528\n{\"code\":\"Success\",\"message\":\"Connector has been created\", ...\n...\n```\n\n\n### 🙋 I'm having problems!\n* Inspect your console and see if it says it can't find the CSS file. If that's true, try and restart the tailwind service (which generates the css file), then restart the django server so it detects the file. That should do it. \n\nThen, navigate to the server in your browser at localhost:8000 😊\n\nAll files will automatically reload when they're changed via browsersync. If you want to adjust the base styling, it's in `vandelay_project/theme/templates`.\n\nAvailable URLs:\n- Vandelay Demo: http://127.0.0.1:8000/pbf/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffivetran%2Fdjango-code-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffivetran%2Fdjango-code-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffivetran%2Fdjango-code-sample/lists"}