https://github.com/piterweb/calendarwebserver
📆 CalendarWeb Server 🖥
https://github.com/piterweb/calendarwebserver
backend calendar docker fiber-framework go golang mongo mongodb server
Last synced: 2 months ago
JSON representation
📆 CalendarWeb Server 🖥
- Host: GitHub
- URL: https://github.com/piterweb/calendarwebserver
- Owner: PiterWeb
- License: mit
- Created: 2022-05-28T16:39:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T00:08:49.000Z (over 3 years ago)
- Last Synced: 2025-03-01T13:26:09.001Z (over 1 year ago)
- Topics: backend, calendar, docker, fiber-framework, go, golang, mongo, mongodb, server
- Language: Go
- Homepage:
- Size: 3.16 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# 📆 CalendarWebServer
### 💻You can find the client on this [repository](https://github.com/PiterWeb/CalendarWeb) 💻
## Purpouse
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.
## Before runing the project
Set the next env variables on a .env file located at the root folder of the project
SECRET_CRYPT =
SECRET_COOKIE =
PORT =
MONGO_USER =
MONGO_PSW =
MONGO_DM =
## Technologies used 📘
### Golang (Go)
- Fiber 🔗 (backend framework - inspired on expressjs)
#### Middlewares
- Compress (gzip response)
- Encrypt Cookie
- Cors (modify CORS)
- Etag (efficient cache)
- Godotenv 🔒 (use enviroment variables)
- Mongo Driver 📦 (MongoDB driver)
- ShortID 🔡 (generate unique IDs)
#### Build
go build main.go
./
### Docker
- Go image : 1.17-alpine
#### Build
docker build --tag calendar-server .
docker run -p 8080 calendar-server