{"id":17892278,"url":"https://github.com/bramirez96/contest-deno-api","last_synced_at":"2026-02-17T04:32:57.560Z","repository":{"id":77067883,"uuid":"381471543","full_name":"bramirez96/contest-deno-api","owner":"bramirez96","description":"A deprecated Deno backend for the Free Daily Story Contest.","archived":false,"fork":false,"pushed_at":"2021-06-29T18:33:39.000Z","size":2165,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T01:37:58.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://contest.storysquad.app","language":null,"has_issues":false,"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/bramirez96.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-29T19:10:36.000Z","updated_at":"2021-06-29T21:45:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"72205d12-225c-456b-b384-6c749b8c472d","html_url":"https://github.com/bramirez96/contest-deno-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bramirez96/contest-deno-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramirez96%2Fcontest-deno-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramirez96%2Fcontest-deno-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramirez96%2Fcontest-deno-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramirez96%2Fcontest-deno-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramirez96","download_url":"https://codeload.github.com/bramirez96/contest-deno-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramirez96%2Fcontest-deno-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29533702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T03:01:11.216Z","status":"ssl_error","status_checked_at":"2026-02-17T03:00:31.803Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-28T14:34:47.970Z","updated_at":"2026-02-17T04:32:57.545Z","avatar_url":"https://github.com/bramirez96.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Story Squad Rest API\n\nThis is a refactor of the existing Story Squad API built in Deno.\n\n[Onboarding Checklist](./docs/Onboarding.md)\n\n[Deno Installation Guide](./docs/DenoSetup.md)\n\n[Database Setup Guide](./docs/DBSetup.md)\n\n## Running the Server Locally\n\nHere are three options for running the server. There are almost certainly other options, but these are the easiest and most practical that I've found.\n\n### Option 1: `Denon`\n\n\u003e **_Note:_** This MIGHT only work in Windows, as I have yet to see it work on Mac.  \n\u003e **_Note 2:_** At the time of updating this documentation, there is currently a BREAKING bug in the Denon package and not much we can do to fix it. If you encounter an error on installation, please refer to options 2 or 3 instead.\n\nI highly recommend using Denon. It offers two main functionalities that many developers have grown accustomed to from Node development: a file watcher and a script manager. Denon allows you to specify scripts to run in a similar fashion to a Node `package.json` file. Check out the scripts for this project in [`scripts.config.ts`](./scripts.config.ts).\n\nThere are two steps to install Denon as a global Bash script:\n\n```bash\n# Step 1: Install from deno.land\ndeno install -qAf --unstable --reload https://deno.land/x/denon@2.4.6/denon.ts\n\n# Step 2: Add the denon alias to your shell config\n# FOR BASH:\necho 'alias denon=\"~/.deno/bin/denon.cmd\"' \u003e\u003e ~/.bashrc\n\n# FOR ZSH:\necho 'alias denon=\"~/.deno/bin/denon\"' \u003e\u003e ~/.zshrc\n```\n\n### Option 2: The Heroku CLI\n\nThe Heroku CLI is a decent solution to run your application locally. The [Procfile](./Procfile) contains a list of scripts used to run various aspects of the project. Follow the [documentation from Heroku](https://devcenter.heroku.com/articles/heroku-cli) to install the CLI.\n\nTo run the [Procfile](./Procfile) scripts, simply use the `heroku local \u003cscriptname\u003e` command with the name of the script you'd like to run:\n\n```bash\nheroku local start # runs the server\nheroku local test # runs the tests\nheroku local dev # resets and seeds the database, then runs the server\n```\n\n### Option 3: Running Deno Directly\n\nIf you don't want the overhead of installing a script runner, you can always run the server with Deno's built-in run script.\n\n```bash\ndeno run --allow-net --allow-env --allow-read --unstable --watch -c ./tsconfig.json src/mod.ts start\n```\n\nIf you'd like to run the server NOT in watch mode, remove the `--watch` flag:\n\n```bash\ndeno run --allow-net --allow-env --allow-read --unstable -c ./tsconfig.json src/mod.ts start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramirez96%2Fcontest-deno-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramirez96%2Fcontest-deno-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramirez96%2Fcontest-deno-api/lists"}