breadstick Svelte Themes

Breadstick

A full stack application for restaurants using Svelte-Kit Frontend, Go Fiber Server, BBolt Database.

breadstick

A full stack application for restaurants.

Dependencies

Web Framework Svelte Kit
UI Library Flowbite Svelte
Frontend Typescript with Sass
Backend Go
Server Go Fiber
Database bbolt

Development

Frontend

cd frontend
npm install
npm run dev

Backend

cd backend
go run .

Deployment

Frontend

cd frontend
npm run build
npm run start

Backend

Manual Deployment

cd backend
go build -o breadstick .

./serve -t # Print the api token environment variable

PORT=4000 VITE_API_TOKEN=api_token ./breadstick

Docker Deployment

cd backend
cp ../sample.env ./.env # Edit api token in .env
docker build -t breadstick-app .
docker run -it -d -p 3000:3000 breadstick-app

Top categories

Loading Svelte Themes