{"id":13533833,"url":"https://github.com/Sooraj-s-98/Preact-appwrite-blog","last_synced_at":"2025-04-01T22:30:49.137Z","repository":{"id":112739725,"uuid":"555840784","full_name":"Sooraj-s-98/Preact-appwrite-blog","owner":"Sooraj-s-98","description":"A simple todo app built with Appwrite and Preact","archived":false,"fork":false,"pushed_at":"2022-10-22T15:46:34.000Z","size":397,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T21:20:55.287Z","etag":null,"topics":["appwrite","hacktoberfest2022","preact"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sooraj-s-98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-10-22T13:06:14.000Z","updated_at":"2022-11-09T03:43:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e97b8579-2c78-4635-a986-33377a37ccc5","html_url":"https://github.com/Sooraj-s-98/Preact-appwrite-blog","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/Sooraj-s-98%2FPreact-appwrite-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sooraj-s-98%2FPreact-appwrite-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sooraj-s-98%2FPreact-appwrite-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sooraj-s-98%2FPreact-appwrite-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sooraj-s-98","download_url":"https://codeload.github.com/Sooraj-s-98/Preact-appwrite-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222774631,"owners_count":17035752,"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":["appwrite","hacktoberfest2022","preact"],"created_at":"2024-08-01T07:01:23.525Z","updated_at":"2024-11-02T20:32:03.119Z","avatar_url":"https://github.com/Sooraj-s-98.png","language":"JavaScript","funding_links":[],"categories":["Showcase (Built with Appwrite 📣)"],"sub_categories":["Preact"],"readme":"# 🔖 Blog With Preact + Appwrite\n\nA simple blog app built with Appwrite and Preact\n\n\nhttps://user-images.githubusercontent.com/52352285/197347993-261dedb9-8f17-43e7-a978-ef90a69eb70a.mov\n\n\n\nWe need to make a few configuration changes to your Appwrite server.\n\n1. Add a new Web App in Appwrite and enter the endpoint of your website (localhost, \u003cproject-name\u003e.vercel.app etc)\n\n\u003cimg width=\"1075\" alt=\"Database\" src=\"https://user-images.githubusercontent.com/52352285/197348015-7633ec50-3c57-49ea-b4a7-757790625486.png\"\u003e\n\n\n2. Create a new collection with the following properties\n\n\u003cimg width=\"1071\" alt=\"Attributes\" src=\"https://user-images.githubusercontent.com/52352285/197348019-3718a2ee-ff48-4bb8-87fe-5222186f32f9.png\"\u003e\n\n\n3. Add the following permissions to your collection.\n\n\u003cimg width=\"1075\" alt=\"Permissions\" src=\"https://user-images.githubusercontent.com/52352285/197348025-96c98112-1e2d-416a-bd35-ae8f364e9f16.png\"\u003e\n\n\n\n## 🎬 Getting Started\n\n### 🤘 Install Appwrite \nFollow our simple [Installation Guide](https://appwrite.io/docs/installation) to get Appwrite up and running in no time. You can either deploy Appwrite on your local machine or, on any cloud provider of your choice. \n\n\u003e Note: If you setup Appwrite on your local machine, you will need to create a public IP so that your hosted frontend can access it.\n  \nWe need to make a few configuration changes to your Appwrite server. \n\n\n\n### 🚀 Deploy the Front End\nYou have two options to deploy the front-end and we will cover both of them here. In either case, you will need to fill in these environment variables that help your frontend connect to Appwrite.\n\n* PREACT_APP_ENDPOINT - Your Appwrite endpoint\n* PREACT_APP_PROJECT - Your Appwrite project ID\n* PREACT_APP_COLLECTION_ID - Your Appwrite collection ID \n* PREACT_APP_DATABASE_ID - Your Appwrite database ID\n\n### **Run locally**\n\nFollow these instructions to run the demo app locally\n\n```sh\n$ git clone https://github.com/Sooraj-s-98/Preact-appwrite-blog\n$ cd Preact-appwrite-blog\n```\n\nRun the following command to generate your `.env` vars  \n\n```sh\n$ cp .env.example .env\n```\n\nNow fill in the envrionment variables we discussed above in your `.env`\n\nNow run the following commands and you should be good to go 💪🏼 \n```\n$ npm install\n$ npm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSooraj-s-98%2FPreact-appwrite-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSooraj-s-98%2FPreact-appwrite-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSooraj-s-98%2FPreact-appwrite-blog/lists"}