Skip to content

kimierik/lego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEGO Stack

leptos for frontend Go for backend this project exists only for learning 2 tecnologies at the same time

Todo

  • [X] Dockerize backend and frontend
  • [X] make the actual thing work somewhat
  • [X] themes and proper styling
  • [X] make it so that the client does not get redirected to the backend when trying to open document

How to use/start

manually

start the backend with by goind to the backend dir and running

go run .

then navigate to the frontend directory and run

trunk serve

make sure you have trunk installed

Docker - compose

run the following command in the root of the project

docker-compose up --build

docker - manual

go to the frontend directory and run these commands

docker build -t leptosfront:1.0 .
docker run -p 8080:8080 leptosfront:1.0

go to the backend directory and run these commands

docker build -t goback:1.0 .
docker run -p 3000:3000 goback:1.0

About

leptos&go web stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published