peq.nu-backend

module
v0.0.0-...-6965a8e Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT

README

peq.nu-backend

A simple hash URL shotener backend using the pigeonhole principle for pontencially create a vendor-free database cluster based on a project vuo.be

Create a enviroment

Create a Firebase Project and a Firestore database
Go to https://console.firebase.google.com/project/{PROJECT-ID}/settings/serviceaccounts/adminsdk
And generate new private key, put in ./env folder with a name firebase.json
You can update the SERVER_PORT on .env file, but make sure it's the same on docker-compose.yml

Start your aplication

run sudo docker compose up --build on a terminal

Deploy

Notice that if you put any file at .gitignore or .dockerignore will be ignored on deploy image

Jump to

Keyboard shortcuts

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