- TypeScript 98.6%
- CSS 1.1%
- JavaScript 0.2%
|
All checks were successful
build-image / build (push) Successful in 19s
Mixpanel was initialised with a hardcoded upstream project token and sent pageviews, events, user ids, names and email addresses to Mixpanel. It now only starts when VITE_MIXPANEL_TOKEN is set at build time. The Google SDK, provider and sign-in button are only mounted when VITE_GOOGLE_CLIENT_ID is set, so a default build contacts no third-party service. |
||
|---|---|---|
| .forgejo/workflows | ||
| .github | ||
| .husky | ||
| public | ||
| src | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc | ||
| components.json | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| LICENSE | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.extend.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Packstack
Packstack is a gear management system and packing list builder for backpackers and outdoor enthusiasts. The UI is built with React, Typescript and Vite.
Packstack uses Tailwind CSS as the CSS framework and components are extended from Shadcn/ui.
Getting started
First, set up your local env variables.
Create .env.local and add the following:
VITE_API_URL=http://localhost # OR https://api.packstack.io
VITE_SENTRY_DSN=
Start the frontend server
From the project root, run:
$ npm i
$ npm run dev
(Option 1) Run the API & database locally
If you want to set up the API and database locally, follow the instructions on the API server repo.
(Option 2) Use the production server
If you do NOT want to run the API and database locally, you can sign in using your credential from Packstack.io.
In .env.local, change the value of VITE_API_URL to https://api.packstack.io
If you do not have a Packstack account, sign up at Packstack.io. Feel free to create a test account for local development.