{"id":18866337,"url":"https://github.com/adia-dev/backend-jimmy","last_synced_at":"2026-02-12T22:30:18.102Z","repository":{"id":225726679,"uuid":"766656690","full_name":"adia-dev/backend-jimmy","owner":"adia-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-04T09:33:30.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T06:47:06.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/adia-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-03T21:10:42.000Z","updated_at":"2024-03-03T21:12:52.000Z","dependencies_parsed_at":"2024-03-04T00:26:57.625Z","dependency_job_id":"37189216-e5fe-4926-a3df-7ae5da3cebd2","html_url":"https://github.com/adia-dev/backend-jimmy","commit_stats":null,"previous_names":["adia-dev/backend-jimmy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fbackend-jimmy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fbackend-jimmy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fbackend-jimmy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fbackend-jimmy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adia-dev","download_url":"https://codeload.github.com/adia-dev/backend-jimmy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239816332,"owners_count":19701752,"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":[],"created_at":"2024-11-08T05:06:17.810Z","updated_at":"2026-02-12T22:30:17.408Z","avatar_url":"https://github.com/adia-dev.png","language":"Python","readme":"# Example python project\n\nThis is a demo project for django with a rest API using a postgresql database.\n\n## Requirements\n\nHere are the tools you need to run this project :\n - Python\n - Docker + Docker compose\n\n## Setup\n\n### Create a virtual environment\n\n```sh\npython -m venv venv\n```\n\n### Activate the virtual environment\n\n```sh\n.\\venv\\Scripts\\activate # Windows powershell\nsource ./venv/bin/activate # Linux and Mac\n```\n\n### Install dependencies\n\n```sh\npip install -r ./requirements/dev.txt\n```\n\n## Load environment variables\n\nThis project requires environment variables to be configured in order to run. The list is avaialable at the end of this\ndocument. You can also see a list of variables in the .env.example file.\n\nThere are multiple ways to load variables in your terminal depending on your OS, so feel free to do it however you please.\n\n## Run the database\n\nWhile working in a local environment, you can use the compose file provided to run a database.\n\n```shell\ndocker compose up -d\n```\n\n## Run migrations\n\nMigrations will apply the necessary scripts to setup your database and apply changes made in your models.\n\n```shell\npython ./manage.py migrate\n```\n\n## Load initial data\n\n```shell\npython ./manage.py loaddata ./fixtures/articles.json\n```\n\n## Run a local development server\n\n```shell\npython ./manage.py runserver\n```\n\n## Run the server in production mode\n\nYou can use the provided script `start.sh` to run a production instance. It will wait for the database to be ready,\napply migrations and then load inital data. This script should be ran inside a Dockerfile.\n\n## List of available environment variables\n\n- `DATABASE_HOST`: The hostname to access your database\n- `DATABASE_PORT`: The port to access your database\n- `DATABASE_USER`: The username to access your database\n- `DATABASE_PASSWORD`: The password to access your database\n- `DATABASE_NAME`: The name of the database\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadia-dev%2Fbackend-jimmy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadia-dev%2Fbackend-jimmy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadia-dev%2Fbackend-jimmy/lists"}