Simple app to keep track of your watched episodes of The Simpsons.
TSDB Can be run using Docker or standalone using Node.js
- Node.js
- pnpm
- PostgreSQL
Environment variables can be set using a .env.production.local
file in the root directory, or by setting them in the environment (obviously)
# The port to listen on
PORT=3000
# The URL to the PostgreSQL database
DATABASE_URL=postgres://user:password@host:port/database
git clone https://github.com/MaximMaximS/TSDB.git
cd TSDB
pnpm run deps
pnpm run deploy
# Build
docker build -t maximmaxims/tsdb .
# Start
docker run --env-file .env.production.local -p 3000:3000 maximmaxims/tsdb
This requires Node.js and pnpm to be installed.
Note that the env file must be moved to the dist
directory.
# Build
pnpm run builder
# Start
cd dist
node server.js