Skip to content

trapcodeio/xpresser-books-app

Repository files navigation

Xpresser Books App (Typescript)

Alt text

A simple Books App API using Xpresser and MongoDB.

Stack

Backend

Frontend

Setup

By default, this should work without an env file. If you want to change the default values, create a .env file in the root of the project.

# Create .env file
cp .env.example .env

Then start the app.

# Development
npm run ts-dev

# Debug
npm run ts-dev-debug

# Production
npm run start

Docker

You can also run the app using Docker. The docker-compose file exists in .docker folder.

cd .docker

# Build the app (only needed once)
docker compose up --build -d

# Run the app
docker compose up -d

Releases

No releases published

Packages

No packages published