{"id":27056278,"url":"https://github.com/kevinganthy/poc-pocketbase-solidjs","last_synced_at":"2025-10-19T00:37:45.975Z","repository":{"id":263559970,"uuid":"890558238","full_name":"kevinganthy/poc-pocketbase-solidjs","owner":"kevinganthy","description":"POC with Pocketbase \u0026 Solidjs","archived":false,"fork":false,"pushed_at":"2025-03-12T09:04:01.000Z","size":259,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T10:16:42.952Z","etag":null,"topics":["docker-compose","github-actions","pocketbase","solidjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kevinganthy.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,"publiccode":null,"codemeta":null}},"created_at":"2024-11-18T19:26:24.000Z","updated_at":"2025-03-25T06:53:10.000Z","dependencies_parsed_at":"2024-11-19T08:30:14.438Z","dependency_job_id":"8befe65c-15b0-49b4-a6ff-606a22d49349","html_url":"https://github.com/kevinganthy/poc-pocketbase-solidjs","commit_stats":null,"previous_names":["kevinganthy/pocketpoc","kevinganthy/poc-pocketbase-solidjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinganthy%2Fpoc-pocketbase-solidjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinganthy%2Fpoc-pocketbase-solidjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinganthy%2Fpoc-pocketbase-solidjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinganthy%2Fpoc-pocketbase-solidjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinganthy","download_url":"https://codeload.github.com/kevinganthy/poc-pocketbase-solidjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318748,"owners_count":20919483,"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":["docker-compose","github-actions","pocketbase","solidjs"],"created_at":"2025-04-05T10:16:45.481Z","updated_at":"2025-10-19T00:37:40.702Z","avatar_url":"https://github.com/kevinganthy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pocket POC\n\nPreview disponible sur Render \u003chttps://pocketpoc-latest.onrender.com\u003e.\n\nImage Docker Hub \u003chttps://hub.docker.com/repository/docker/kevinganthy/pocketpoc/general\u003e.\n\n## Utilisation\n\n\u003e :warning: Penser à créer le fichier `.env` à partir du fichier `.env.example`\n\nAu choix :\n\n* Avec **devcontainer**, démarrage automatique\n* Avec **docker**, commande `docker compose up -d`\n\n### Accès\n\n* `localhost` : Front end\n* `pb.localhost` : Pockebase\n\n### Pockebase\n\n**Auto seeding** : Le fichier `init.sql` est exécuté automatiquement au démarrage de Pocketbase si la base de données est vide.\n\n* **EMAIL :** \u003ckevin@gnth.io\u003e\n* **PASSWORD :** azerty1234\n\nCustom endpoints :\n\n* `pb.localhost/api/helloworld` (public)\n* `pb.localhost/api/hello/:id` (private)\n\n## Going to production\n\nLe fichier `.env` peut contenir les variables d'environnement suivantes :\n\n* POCKET_URL\n* POCKET_PORT\n* HELLO_WORLD_RESPONSE\n\n### From DockerHub\n\n```sh\n# With env file\ndocker run --env-file=.env -p 8090:8090 -v ~/pocketpoc:/app/pb_data kevinganthy/pocketpoc\n# With env var\ndocker run -e HELLO_WORLD_RESPONSE=\"Salut\" -p 8090:8090 -v ~/pocketpoc:/app/pb_data kevinganthy/pocketpoc\n```\n\n### Build from source\n\nUne image docker peut être générée à l'aide du `Dockerfile` à la racine du projet avec la commande :\n\n```sh\ndocker build -t pocketpoc --build-arg VITE_APP_NAME=\"Pocketpoc\" .\n```\n\nPour lancer l'image, il suffit de lancer la commande :\n\n```sh\n# With env file\ndocker run --env-file=.env -p 8090:8090 -v ~/pocketpoc:/app/pb_data pocketpoc\n# With env var\ndocker run -e HELLO_WORLD_RESPONSE=\"Salut\" -p 8090:8090 -v ~/pocketpoc:/app/pb_data pocketpoc\n```\n\n### Oauth\n\nL'autentification est possible via Google ou Github en reseignants les champs `client_id` et `client_secret`. Liens pour les créer :\n\n* [Github](https://github.com/settings/applications/2786757)\n* [Google](https://console.cloud.google.com/apis/credentials)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinganthy%2Fpoc-pocketbase-solidjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinganthy%2Fpoc-pocketbase-solidjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinganthy%2Fpoc-pocketbase-solidjs/lists"}