A simple URL shortener server backed by PostgreSQL.
You need to install pnpm.
$ git clone [email protected]/swan-io/url-shortener.git$ pnpm installAt the project root, you should find a .env.example file. Copy its contents to a new .env file.
To start the development server, run:
$ pnpm devTo build the production codebase, run:
$ pnpm buildRun tests (using vitest and pgmock):
$ pnpm test