Internal SvelteKit foundation repo for the CryptoSharia (PT Kripto Syariah Indonesia) dev team. Use this as the starting point for new SvelteKit projects, with shared tooling and conventions preconfigured.
Quickstart: npm install then npm run dev.
Preferred:
Alternative (clone):
git clone <repo-url> cryptosharia-app
cd cryptosharia-app
# detach from the foundation repo history
rm -rf .git
git init
npm install
npm run dev
This repo consumes the shared CryptoSharia AI foundation via OpenCode remote config.
.opencode/remote-config.json@jgordijn/opencode-remote-config)To verify it works, see docs/verify-opencode-remote-config.md.
When working on changes in this repo, prefer using OpenCode so it can:
planning/From the repo root, run:
opencode
This repo expects a local .env file. Start from the example and review it before running the app:
cp .env.example .env
Note: variables prefixed with
PUBLIC_are supposed to be exposed to the client - do not put secrets there.
Once you've created a project and installed dependencies with npm install, start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.