Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.04 KB

File metadata and controls

44 lines (33 loc) · 1.04 KB

NanoDnD

NanoDnD is a minimalist web application for managing tabletop role-playing games, with a focus on Dungeons & Dragons.

Launch

Install Yarn

npm install -g yarn

Clone repository and install dependencies

git clone https://github.com/vnikonv/nanodnd.git
cd nanodnd

yarn install

Place 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 signing

Run in Dev Mode:

yarn dev

To build the project and start the production server:

yarn build  # Builds the project for production.
yarn start  # Starts the production server after build.

Tech Stack

  • Frontend: React, PixiJS, Retro UI, Tailwind CSS, Axios, Bobatron
  • Backend: Node.js, Express
  • Database: PostgreSQL
  • Auth: JWT-based authentication, Bcrypt