Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bwhtdev/jwt-auth-app


https://github.com/bwhtdev/jwt-auth-app

alpinejs astro docker golang jwt nginx postgres svelte tailwindcss

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# jwt-auth-app

### Command to prepare env vars
```
touch .env
ln .env frontend/.env
ln .env backend/.env
touch db/password.txt
```

### Commands to run (locally)
```
# make postgres db
docker run postgres...

# run backend
go run backend/main.go

# run frontend
cd frontend && pnpm i && pnpm start
```

### Commands to run (on deployment)
```
docker compose up --build -d
```