No description https://timehex.net
  • Vue 53.8%
  • TypeScript 46%
  • Dockerfile 0.2%
Find a file
2026-04-21 18:51:22 -04:00
.claude add claude config 2026-03-21 21:12:53 -04:00
app update packages and switch to typescript strict mode 2026-04-21 18:51:22 -04:00
public initial commit 2024-11-17 19:01:25 -05:00
server update packages and switch to typescript strict mode 2026-04-21 18:51:22 -04:00
shared update packages and switch to typescript strict mode 2026-04-21 18:51:22 -04:00
.gitignore add api key permissions and multiple keys (#2) 2026-03-25 20:00:30 -04:00
.npmrc upgrade nuxt version 2025-06-18 21:52:44 -04:00
.prettierrc add watch percentages route + refactors 2025-05-08 12:40:10 -10:00
CLAUDE.md add claude config 2026-03-21 21:12:53 -04:00
Dockerfile add dockerfile 2026-01-18 09:44:03 -05:00
drizzle.config.ts add email verification 2026-01-24 10:48:38 -05:00
eslint.config.mjs add eslint and start on typescript improvements 2025-12-19 22:23:09 -05:00
nuxt.config.ts use better graphs 2026-03-12 21:07:06 -04:00
package.json update packages and switch to typescript strict mode 2026-04-21 18:51:22 -04:00
pnpm-lock.yaml update packages and switch to typescript strict mode 2026-04-21 18:51:22 -04:00
README.md add time goal records and monthly view 2025-10-07 21:01:54 -04:00
tailwind.config.ts create authorize request util 2024-12-19 20:47:19 -10:00
tsconfig.json update packages and switch to typescript strict mode 2026-04-21 18:51:22 -04:00

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:


# pnpm
pnpm install


Development Server

Start the development server on http://localhost:3000:


# pnpm
pnpm dev

Start the development server with ssl on https://localhost:3000 (so cookies will work on Safari):


# pnpm
pnpm ssl-dev

Production

Build the application for production:


# pnpm
pnpm build

Locally preview production build:


# pnpm
pnpm preview

Check out the deployment documentation for more information.

Setting up local SSL

Follow the MKCert guide for localhost here: https://www.storyblok.com/faq/setting-up-https-on-localhost-in-nuxt-3

Update local DB


npx drizzle-kit push;

We will eventually use migrations, TODO: Update this documentation once we do.

Run prettier on all files


pnpm prettier . --write

How to access the remote database

ssh onto the server then:

  • Add your ip to the ufw whitelist

sudo ufw allow from <your-local-ip> to any port 5432

  • Add your ip to the pg_hba.conf file

sudo nano /etc/postgresql/16/main/pg_hba.conf

Run a one-off database migration


npx tsx db/migrate.ts