CalendarWebServer

command module
v0.0.0-...-4870b06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 2 Imported by: 0

README ΒΆ

πŸ“† CalendarWebServer

πŸ’»You can find the client on this repository πŸ’»

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>
SECRET_COOKIE = <secret>
PORT = <port>
MONGO_USER =  <mongodb user>
MONGO_PSW = <mongdb password>
MONGO_DM = <mongodb domain>

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
    
      ./<executable>
    
Docker
  • Go image : 1.17-alpine

    Build
      docker build --tag calendar-server .
    
      docker run -p 8080 calendar-server
    

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL