Develop and tinker with Fluxend locally
^1.23.x
installed and accessible by running go version
^20.16.x
installed and accessible by running node --version
goose version
docker --version
, docker-compose --version
, make --version
, and git --version
in your terminal.
backend
, you can ignore frontend
and vice versa.
URL_SCEHEME
to http
to avoid SSL issues when running application locallyfluxend_api
container. If you’re interested in changing/developing a feature in this area, you should run this without a container to see realtime changes without having to re-compile each time. fluxend
directory to initiate a real-time Golang Echo server
ENV
for frontend app by modifiying web/.env
file and point it to http://api.localhost:8080/
fluxend_frontend
In order to see changes realtime, you should first install dependencies by running:
pkg.DumpJSON
to print debug info when dealing with go related issues. We also use Zerolog so you can use it for printing information. Also, try looking into other files under pkg
directory.
When it comes to frontend, console.log
is your friend.
We’ll be updating this section with more helpful resources.
camelCase
for all variables, functions, and methodsPascalCase
for constantsPascalCase
for exported types, camelCase
for unexportedPascalCase
with descriptive names (e.g., UserRepository
, EmailSender
)snake_case
for all Go files_test.go
to the corresponding file namefmt.Errorf
with %w
verb for error wrapping