Skip to content

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

License

Notifications You must be signed in to change notification settings

goozt/breadstick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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