Learning project using SvelteKit, Go and Postgresql
cnb_forex
with user, who have rights to create tables. You can use shell scripts in /bin/db
folder. Modify them as you see fit.git clone git@github.com:radekBednarik/cnb_forex.git
/bin/db
folder/data-getter
folder and run go mod tidy
and go build main.go
USER=<username> PASSWORD=<password> ./main
to download all data. Data are downloaded from public Czech National Bank website starting from current date and going backwards to the date set in /data-getter/config.toml
file. If you leave the setting, the download can take a while, since we are not using concurrency since we do not want to get banned on the server./server
folder and run go mod tidy
and go build main.go
USER=<username> PASSWORD=<password> ./main
/frontend
and run npm install
npm run dev
to start dev serverApp is ready to be used.