This is a svelte template with preinstalled features such as:
- Typescript support
- Python backend with
FastAPI
- Tailwind configured on the go
- PWA configured
To install this template, run:
degit noizrom/svelte <project-name>
# then cd into the project directory
cd <project-name>
To get started, run:
# Installing backend dependencies
pipenv install
# Installing fronend dependencies
pnpm install
- note that you can also use
npm
oryarn
to install frontend dependencies
# Starting the backend server
pipenv run python -m server.run dev
# Starting the frontend developement server
pnpm run dev
- the python server will run in
http://localhost:7000
. check the api by going tohttp://localhost:7000/docs
pnpm build
pipenv run python -m server.run
- python server hosts
public/
files directly
- Add simple config for ports and hostnames
- Manage python server using poetry