{"id":26350099,"url":"https://github.com/imrlopez/upwork-ekocrate-zipform","last_synced_at":"2026-04-12T03:04:34.220Z","repository":{"id":120332846,"uuid":"377695163","full_name":"iMrLopez/upwork-ekocrate-zipform","owner":"iMrLopez","description":"A small popup created for the team at https://ekocrate.com","archived":false,"fork":false,"pushed_at":"2021-07-02T17:24:15.000Z","size":518,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T09:31:19.319Z","etag":null,"topics":["css","firebase","firestore","html","javascript"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/github/iMrLopez/ekocrate-popup","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/iMrLopez.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":"2021-06-17T03:36:38.000Z","updated_at":"2021-07-02T17:24:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb36ee7e-7449-473e-8d5a-3aa929306c60","html_url":"https://github.com/iMrLopez/upwork-ekocrate-zipform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iMrLopez/upwork-ekocrate-zipform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMrLopez%2Fupwork-ekocrate-zipform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMrLopez%2Fupwork-ekocrate-zipform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMrLopez%2Fupwork-ekocrate-zipform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMrLopez%2Fupwork-ekocrate-zipform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iMrLopez","download_url":"https://codeload.github.com/iMrLopez/upwork-ekocrate-zipform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMrLopez%2Fupwork-ekocrate-zipform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["css","firebase","firestore","html","javascript"],"created_at":"2025-03-16T09:29:43.035Z","updated_at":"2026-04-12T03:04:34.215Z","avatar_url":"https://github.com/iMrLopez.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EkoCrate Form\n\nA small popup created for the team at https://ekocrate.com\n\nThis form uses the following technologies\n\n* CSS\n* HTML\n* FIREBASE\n* JAVASCRIPT\n\nThe idea is that the user would fill all the data, this data will be validated and then the user will be able to save it to a firestore collection.\n\n## DEPLOY INSTRUCTIONS\n\n* You need to include the contents of the index.html file in an HTML element in squarespace.\n* The page containing the HTML element in squarespace should have a url like this:\n\n```javascript\n    /zipcheck?beds=studio\n    /zipcheck?beds=34\n    /zipcheck?beds=5\n    /zipcheck?beds=12\n```\n(Notice the `?beds=` parameter, this is important for the site to know where to redirect the user)\n\n* You will need to modify your database rules in Firestore to allow writing to it.\n* * Go to your `Firestore Database` tab and click on `Rules`\n* * Add the following rule just before the last closing bracket in your rules\n\n```\n  match /ekocrate_users_zipcheck/{id} {\n  \tallow write: if true;\n  }\n```\n\nYour security rules should look something like this:\n\n```\nrules_version = '2';\nservice cloud.firestore {\n    ...\n    match /ekocrate_users_zipcheck/{id} {\n        allow write: if true;\n    }\n}\n```\n\n(Adding this rule is strictly necessary to allow the script to write to your database).\n(This rule only enables writing to `ekocrate_users_zipcheck`, this, in order to make sure your db doesnt get open to the public).\n\n## LIVE DEMO OF THE FORM\n\nhttps://imrlopez.github.io/upwork-ekocrate-zipform/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrlopez%2Fupwork-ekocrate-zipform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrlopez%2Fupwork-ekocrate-zipform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrlopez%2Fupwork-ekocrate-zipform/lists"}