early work in progress, some stuff are still not ok
...and many more fun things
So. You want to create a fullstack project. good to go! This is a template, feel free to use for almost everything (except Nazi and Terrorist stuff this is not allowed sorry.).
What is included in this boilerplate:
What is not included:
rename.sh
not working, it is used to replace "BOILERPLATE" in every strings by the name you decide. Be careful to name it well (there's no turning back)chmod a+x rename.sh && ./rename.sh
So you have a fresh project how to work with it ?
First, run (and don't close it):
go run .
which will start the backend application.
Then go to app folder and launch the app.
cd app
yarn #or npm install, i'm not racist
yarn dev # or npm run dev, your problems :)
The second command will print you an url. If everything's cool, you should have a beautiful example page.
the API is available on /api.
I recommend docker, because it's a 3-stage build :
you can try at any moment the app with :
docker compose up --build
which exposes port 9000.