{"id":24990369,"url":"https://github.com/fan9704/neorpcseach","last_synced_at":"2026-04-13T22:03:53.086Z","repository":{"id":103429498,"uuid":"597288476","full_name":"fan9704/NeoRPCSeach","owner":"fan9704","description":"Refractor Project Paradise-Papers-Search to Django 4 and RPC Protocal","archived":false,"fork":false,"pushed_at":"2023-02-04T04:16:25.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T13:41:05.348Z","etag":null,"topics":["django","djangorestframework","grpc","neo4j"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fan9704.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-04T04:15:27.000Z","updated_at":"2023-02-04T06:37:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"56c4a4be-9a4a-4c64-b592-342715ef0349","html_url":"https://github.com/fan9704/NeoRPCSeach","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2FNeoRPCSeach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2FNeoRPCSeach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2FNeoRPCSeach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2FNeoRPCSeach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fan9704","download_url":"https://codeload.github.com/fan9704/NeoRPCSeach/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246187210,"owners_count":20737459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["django","djangorestframework","grpc","neo4j"],"created_at":"2025-02-04T13:35:55.412Z","updated_at":"2026-04-13T22:03:48.064Z","avatar_url":"https://github.com/fan9704.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# paradise-papers-django\nA simple Django web app for searching the Paradise Papers dataset backed by Neo4j\n\n[Welcome to Paradise Paper Search App’s Django + Neomodel Tutorial!](https://neo4j-examples.github.io/paradise-papers-django/)\n\n\n# Requirements\n\n- Python 3.4+\n- Django 2.2+\n- neo4j 3.5+, 4.0\n- neo4j-driver 4.1.1\n- neomodel 4.0.4\n\n# Quickstart\n\nFirst create an [sandbox database](https://sandbox.neo4j.com/), make sure to select **Paradise Papers by ICIJ** under **Pre-Built Data**, copy the credentials: username, password and bolt URL, you are going to need that later.\n\n``` bash\n# Clone this repository\ngit clone https://github.com/neo4j-examples/paradise-papers-django\n\n# Go into the repository\ncd paradise-papers-django \n\n# active your [virtual environment](https://docs.python.org/3/tutorial/venv.html) and install your dependencies\ncd paradise_papers_search\npip install -r ../requirements.txt\n\n# Run the app\nexport DATABASE_URL=bolt://\u003cusername\u003e:\u003cpassword\u003e@\u003caddress\u003e:7687 # update with the credentials from your sandbox database.\npython manage.py runserver --settings=paradise_papers_search.settings.dev\n```\n# Registering Models in the Admin\n\nIn `paradise_papers_search/fetch_api/admin`, add the models you would like to explore using the admin:\n\n```python\nfrom django.contrib import admin as dj_admin\nfrom django_neomodel import admin as neo_admin\n\nfrom .models import Entity\n\nclass EntityAdmin(dj_admin.ModelAdmin):\n    list_display = (\"name\",)\nneo_admin.register(Entity, EntityAdmin)\n```\n\nCreate the admin superuser:\n\n```\n./manage.py migrate\n./manage.py createsuperuser\n```\n\nRun the app!\n\n```\npython manage.py runserver --settings=paradise_papers_search.settings.dev\n```\n\nStart searching at http://127.0.0.1:8000/\n\nView the admin at http://127.0.0.1:8000/admin\n\nWhile testing locally you may want to do `export ALLOWED_HOST=*`\n\n# Quick Heroku Deployment with Neo4j Sandbox \n\nCreate an sandbox database, make sure to select `Paradise Papers by ICIJ` under Pre-Built Data.\ncopy the database's username, password, and bolt URL.\n\nCreate a Heroku app, (for example, `paradise-papers`)\nGo to the app's settings and add the following config vars:\n`ALLOWED_HOST` : `paradise-papers.herokuapp.com`\n`DATABASE_URL`: the credentials from your sandbox database in the following format `bolt://user:password@ip:port`\n\nClone the repository and navigate into the directory, add Heroku as a remote, and push to Heroku:\n```\ngit clone git@github.com:neo4j-examples/paradise-papers-django.git\ncd paradise-papers-django\ngit remote add heroku https://git.heroku.com/paradise-papers.git\ngit push heroku master\n```\n\nView your app at the URL you specified earlier.\n\n![alt text](https://github.com/neo4j-examples/paradise-papers-django/blob/master/docs/tutorial/_images/admin-list.png \"Admin List\")\n_________\n\n![alt text](https://github.com/neo4j-examples/paradise-papers-django/blob/master/docs/tutorial/_images/admin-detail.png \"Admin Detail\")\n_________\n\n![alt text](https://github.com/neo4j-examples/paradise-papers-django/blob/master/docs/tutorial/_images/part07-img1.png \"Search Home\")\n_________\n\n![alt text](https://github.com/neo4j-examples/paradise-papers-django/blob/master/docs/tutorial/_images/part07-img2.png \"Search Results\")\n_________\n![alt text](https://github.com/neo4j-examples/paradise-papers-django/blob/master/docs/tutorial/_images/part07-img3.png \"Search details\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffan9704%2Fneorpcseach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffan9704%2Fneorpcseach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffan9704%2Fneorpcseach/lists"}