π»You can find the client on this repository π»
Nowadays it is dificult to save your calendar in one place and still have privacy π, so I tried to make a full-stack Calendar π server + π» client (web) which anyone can host to use it.
Set the next env variables on a .env file located at the root folder of the project
SECRET_CRYPT = <secret>
SECRET_COOKIE = <secret>
PORT = <port>
MONGO_USER = <mongodb user>
MONGO_PSW = <mongdb password>
MONGO_DM = <mongodb domain>
-
Fiber π (backend framework - inspired on expressjs)
- Compress (gzip response)
- Encrypt Cookie
- Cors (modify CORS)
- Etag (efficient cache)
-
Godotenv π (use enviroment variables)
-
Mongo Driver π¦ (MongoDB driver)
-
ShortID π‘ (generate unique IDs)
go build main.go ./<executable>
-
Go image : 1.17-alpine
docker build --tag calendar-server . docker run -p 8080 calendar-server