This project was generated using Nx.
Unteris is a D&D Homebrew setting written and developed by my partner. All credit for information about the world goes to them. This repository is the website that I am working on for displaying the information they come up with to make it easier to track changes, and share the information with other players and Dungeon Masters as the campaign setting grows.
Currently, the front end is being written in React while using NestJS as the server side framework all withhin this wonderful Nx monorepo. nest-commander is being used as a CLI builder to integrate with Kysely to handle migrations via its own "application" in Nx's terms. Migrations are written to their own library directory, and all new react components go into separate libraries as well to help keep builds short making use of Nx's computational caching.
Currently hosted via a banana pi in my office.
If you really can't wait to see what this is all doing you can follow th steps below
- NodeJS preferrably current (18 and above)
- A package manager, I use pnpm and do not guarantee yarn or npm will work the same
- Docker-compose
- Your own creativity when it comes to filling in the database as those seeds are not yet created
- Clone the repo and move to the directory
- Run
docker compose up -d
to start the database - Run
pnpm nx run kysely-cli:migrate
to build and run the migrations - Run
pnpm nx run server:serve
to start the server on port 3333 - Run
pnpm nx run site:serve
to start the site on port 4200
I'll be working on this in the free time that I have, as I really want to see it all come together. Feel free to use this project as inspiration for your own or learn how I'm connecting Nx libraries and applications together. Otherwise, you can just watch the project and see what becomes of it.
Any major questions I guess you can raise an issue or email me about it