Commit graph

17 commits

Author SHA1 Message Date
ditatompel
0fdce5cc81
Make this project public, add link & license info
> When I wrote this, only God and I understood what I was doing.
> Now, only God knows.

Shout to https://github.com/me-shaon/GLWTPL
2024-06-10 22:40:44 +07:00
ditatompel
70c371a9b4
chore: Add similar projects to the README.md 2024-06-10 21:32:01 +07:00
ditatompel
9323e63405
docs: Add build requirement information 2024-06-03 13:37:18 +07:00
ditatompel
c6d48764a2
Update readme on how the site works 2024-05-31 18:24:45 +07:00
ditatompel
5fae3d565a
chore: Rename tools directory to deployment
The `tools` directory contains example ansible playbook, systemd
example, and Nginx configuration example for the server.

The directory name `deployment` for that stuffs much more suitable.
2024-05-30 12:02:11 +07:00
ditatompel
8df90ef5e2
chore: Fix formatting (prettier) 2024-05-28 10:03:29 +07:00
ditatompel
253230dc5a
Removing admin module and functions
The administration of the server is done using cli tools. So I don't
think that admin account and module is required. At least for now.

Note that this also remove `tbl_admin` creation in database migrate.
Since no release were made until this commit, the database migration
still in version 1. Manual removal database table for `tbl_admin`
is required on the existing running server.
2024-05-23 03:40:06 +07:00
ditatompel
d44cea7e7c
Update the geoip package location 2024-05-23 00:39:31 +07:00
ditatompel
279b142e76
Build server tags in Makefile & air config #3
The build system is changed, now it build 2 different binary by using
go `-tags`. The local output binary also changed based on build tags.
2024-05-18 18:05:53 +07:00
ditatompel
598adac908
Adding repo description and update requirements 2024-05-17 17:40:22 +07:00
ditatompel
46bc3dc2e8
Using slog for logging level
The log level for the apps is using `log/slog` from Go standard library.
This commit change log format for fiber http logger to match with
the slog standard log format (date and time).

This commit also remove `APP_DEBUG` field from config struct.

TODO:
Use `slog` for default app output. Note that in this commit, the `slog`
output only implemented in `cron` "db migrate" and probe client.
2024-05-13 18:40:01 +07:00
ditatompel
d3113bf598
feat: MySQL db migration
Create database schema migration for this app that run when the `serve`
command is executed.
2024-05-12 04:19:40 +07:00
ditatompel
ec11fa0126
removing current page & next page in api response
This response was used for my HTMX "infinite scroll" data, which is not
used in this Svelte project.
2024-05-09 18:29:48 +07:00
ditatompel
899ffd0830
Adding systemd service and timer for prober 2024-05-06 21:45:33 +07:00
ditatompel
e7164ae0c1
Adding systemd example for server service 2024-05-06 19:59:43 +07:00
ditatompel
553aca1074
Adding GeoIP support 2024-05-05 02:20:54 +07:00
ditatompel
97ac67022f
Initial commit 2024-05-04 00:10:33 +07:00