Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 1.27 KB

README.md

File metadata and controls

66 lines (48 loc) · 1.27 KB

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