NanoDnD is a minimalist web application for managing tabletop role-playing games, with a focus on Dungeons & Dragons.
Install Yarn
npm install -g yarnClone repository and install dependencies
git clone https://github.com/vnikonv/nanodnd.git
cd nanodnd
yarn installPlace the .env file in nanodnd/backend or configure the environment variables another way
PORT=3000 # Port for the backend server
DATABASE_URL=postgresql://... # Your database connection string
JWT_SECRET=yourSecret # Secret key for JWT signingRun in Dev Mode:
yarn devTo build the project and start the production server:
yarn build # Builds the project for production.
yarn start # Starts the production server after build.