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. It uses MongoDB for the database.
I mainly created it to demonstrate a full-stack app deployment. Here's the tutorial link.
Frontend repo 👉 kerolloz/my-super-awesome-app
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 :)
Service | URL | Source Code |
---|---|---|
Image uploads | imghippo.com | src/services/ImageUploader.ts |
Email sending | mailersend.com | src/mailer/base.mailer.ts |
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 --init --network=host my-super-awesome-api # use --network=host for local development