- SvelteKit, TypeScript
- shadcn-svelte
- ESLint, Prettier
- Better-Auth
- Drizzle, Redis
- Vercel
-
Clone the repository
git clone https://github.com/SkepticMystic/farmstand.git
-
Install dependencies
npm install
-
Set up environment variables
Create a
.envfile in the root directory and add the necessary environment variables. You can refer to the.env.examplefile for guidance.Part of this step is setting up a new postgres db (I currently use neon). Create a development branch in the neon dashboard, and copy the connection string to your .env file as
DATABASE_URL.Then run the following command to create the necessary tables:
npm run db push
-
Run the development server
npm run dev
-
Open your browser and navigate to
http://localhost:5173to see the app in action.
- Push your code to a Git repository (e.g., GitHub, GitLab).
- Connect your repository to Vercel.
- Set up the environment variables in the Vercel dashboard.
- Edit the build command to
vite build && npm run db migratein the Vercel dashboard. - Deploy the app using Vercel.
- PWA on app store: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#installation_from_an_app_store
- Zero sync?
- Proper site.manifest and favicons. Use animal-shelter as an example