trusttri / felt-server

server for Felt, a tool for building and maintaining communities πŸ’š work in progress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

felt-server

server for Felt, a tool for building and maintaining communities πŸ’š

work in progress: pre-pre-alpha

For development docs, please see Contributing

usage

# node >=16.6
npm i

# start the SvelteKit/Vite frontend dev build, Node builds with Gro, and Polka API server
npm run dev

# browse to localhost:3000

# you can also run `gro dev` with Gro installed globally: npm i -g @feltcoop/gro
gro dev # args are forwarded to `svelte-kit` like `npm run dev`
gro # print available tasks

npm test
# or
gro test

learn more about Gro

Each part of the dev build is available as an npm script:

npm run dev-sveltekit
npm run dev-gro

build

Build the dist/ directory for production:

npm run build
# or
gro build

# run it
npm start
# or
gro start
# TODO support custom port, like:
PORT=3003 gro start

deploy

Deploy will execute a build on the local machine, package the output into a tar, and attempt to deploy it to a remote instance:

npm run deploy
# or
gro deploy

# TODO support custom deployment URLs

credits 🐒🐒🐒

Polka βˆ™ Svelte βˆ™ SvelteKit βˆ™ Vite βˆ™ Gro βˆ™ Rollup βˆ™ TypeScript βˆ™ esbuild βˆ™ esinstall βˆ™ uvu βˆ™ Prettier βˆ™ @lukeed/* & more

license 🐦

MIT

About

server for Felt, a tool for building and maintaining communities πŸ’š work in progress

License:MIT License


Languages

Language:TypeScript 69.0%Language:Svelte 29.6%Language:CSS 0.8%Language:JavaScript 0.5%Language:HTML 0.2%