Learning opportunity for Vite, Vitest, and Solid-JS implemented entirely in Typescript.
Lots of sharp edges still with how to appropriately setup all four to be happy, but works well now.
Hopefully this can help serve as a better template for those wanting to experiment with these projects.
- NodeJS (uses NPM as the package manager)
- Create
.env.local
file at project root withVITE_OPENWEATHER_API_KEY=[INSERT API KEY HERE]
npm i
npm run dev
npm run build
npm run test
npx vitest run --coverage