Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/andreijiroh-dev/api-servers. Monorepo for different Cloudflare Workers and Deno Deploy hosted APIs
api-servers cloudflare-workers deno-deploy golinks hackclub-arcade
Something went wrong. Try again.
5 folders · 10 files
README.md
@andreijiroh-dev/golinks-rewrite #
Made as part of Hack Club Arcade / Summer of Making 2024 ([see the scrapbook][scrapbook] for all the deets).
A rewrite of golinks Cloudflare Workers code, now with OpenAPI 3.1
powered by chanfana and
Hono.
Environments #
- Staging: https://golinks-next-staging.ajhalili2006.workers.dev (see the docs below for testing in staging)
- Production: https://golinks-next.ajhalili2006.workers.dev
Development #
Hack Hour/Arcade reviewer? See the docs for testing the staging environment if you don't want to mess around prod.
- Run
yarnto install dependencies and generate Prisma client code withyarn types:prisma-client. - Sign in with Cloudflare for Wrangler CLI:
yarn wrangler login - Run migrations to init things:
yarn migrations:apply --local - Run local dev server:
yarn dev - Once everything up, open the Swagger-generated API docs at http://localhost:35120/api/docs[1] and happy hacking.
Look for port
35120on Ports if you're on a remote dev environment, especially for GitHub Codespaces and Gitpod users. ↩︎