Skip to content

A simple Express server that connects to a Mongodb and is meant to be used to communicate with Tabletop Simulator Api.

License

Notifications You must be signed in to change notification settings

camtatz/tts-express-mongodb

Repository files navigation

Simple HTTP server used to interact with TTS

How To Run

Setup and run a mongodb server, if needed follow this guide. Then add a .env file with the endpoint declared like below:

MONGO_ENDPOINT=mongodb://0.0.0.0:27017

Create a database named tts or create your own. If you create your own make sure to change the string when connecting to the database in conn.mjs.

Start the Express server:

cd server
npm install
npm run dev

View the tts-webrequest repository or workshop item to see how to connect via the Tabletop Simulator Api.

About

A simple Express server that connects to a Mongodb and is meant to be used to communicate with Tabletop Simulator Api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published