https://github.com/trapcodeio/xpresser-books-app
A simple books app built with xpresser and mongodb for the Bunnyshell hackathon.
https://github.com/trapcodeio/xpresser-books-app
bunnyshell bunnyshell-hackathon nodejs xpresserjs
Last synced: 3 months ago
JSON representation
A simple books app built with xpresser and mongodb for the Bunnyshell hackathon.
- Host: GitHub
- URL: https://github.com/trapcodeio/xpresser-books-app
- Owner: trapcodeio
- License: mit
- Created: 2023-05-28T14:45:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-09T19:47:55.000Z (over 2 years ago)
- Last Synced: 2025-03-20T05:34:54.816Z (12 months ago)
- Topics: bunnyshell, bunnyshell-hackathon, nodejs, xpresserjs
- Language: TypeScript
- Homepage: https://devpost.com/software/multiple-book-app-stack-bunnyshell-template
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Xpresser Books App (Typescript)

A simple Books App API using **Xpresser** and **MongoDB**.
# Stack
## Backend
- [Node.js](https://nodejs.org/en/)
- [Xpresser](https://xpresserjs.com)
- [MongoDB](https://www.mongodb.com/)
## Frontend
- [vue-books-app](https://github.com/trapcodeio/vue-books-app)
# 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.
```bash
# Create .env file
cp .env.example .env
```
Then start the app.
```bash
# 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.
```bash
cd .docker
# Build the app (only needed once)
docker compose up --build -d
# Run the app
docker compose up -d
```