Clone the repository
git clone https://github.com/SkepticMystic/app-starter-template.git
Install dependencies
npm install
Set up environment variables
Create a .env
file in the root directory and add the necessary environment variables. You can refer to the .env.example
file 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:5173
to see the app in action.
vite build && npm run db migrate
in the Vercel dashboard.