Home
Softono

Podverse Api

Open source TypeScript
35
Stars
17
Forks
2
Issues
3
Watchers
6 months
Last Commit

 About Podverse Api

Data API, database migration scripts, and backend services for all Podverse apps

Platforms

Web Self-hosted

Languages

TypeScript

Need Help Installing Podverse Api?

We provide expert installation service for this software. Our team will install, configure, and secure Podverse Api on your server. plans start at just $30.

Podverse Api

View on GitHub

podverse-api

Data API, database migration scripts, and backend services for the Podverse ecosystem

Dev Setup

Environment Variables

Create a .env file in the root of this project, based on the example found in podverse-ops/config/podverse-api.env.example.

AUTH_JWT_SECRET (Required)

The AUTH_JWT_SECRET environment variable must be a valid UUID. The API will not start if this value is missing or not a valid UUID.

Generate a UUID:

# macOS / Linux
uuidgen

# Or use an online generator
# https://www.uuidgenerator.net/

Example format:

AUTH_JWT_SECRET=123e4567-e89b-12d3-a456-426614174000

If the JWT secret is invalid, the API will fail to start with an error message like:

FATAL: AUTH_JWT_SECRET must be a valid UUID.

Local Dev Workflow

Podverse uses many modules that are maintained in separate repos, and they need to be linked and running for a local dev workflow. Please read the podverse-ops/dev/local-dev-setup.md file to set up the required dependencies and module linking.

Running Locally

Install the node_modules:

npm install

Then run:

npm run dev

Or if you want the app to auto-reload on saved changes:

npm run dev:watch

Deploying

To deploy, build the docker image using the Dockerfile, and deploy the image on your server using the podverse-ops/docker-compose.yml file. See the podverse-ops/dev/deploying.md file for more info.