An open API service indexing awesome lists of open source software.

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 🖥

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