My Super Awesome API

Build and Lint

Warning
This app is used for demonstration purposes only.

This is the backend repository for my super awesome app. It's built using Bun and Fastify. I mainly created it to demonstrate a full-stack app deployment. Here's the tutorial link.

Frontend repo 👉 kerolloz/my-super-awesome-app

Usage

cp .env.example .env  # Create a new .env file and fill in the required variables
bun i                 # Install required dependencies
bun dev               # Start the development server with reload on changes
bun run build         # Ensure TypeScript is happy :)

Docker

Before running the image, you must create a .env file with the same variables as above.

docker build -t my-super-awesome-api .
docker run -p 5000:5000 --env-file=.env -it --network=host my-super-awesome-api # use --network=host for local development