This README provides an overview of the server.ts
file, which is an Express server designed to serve static files, handle error logging, and provide instructions for running it using the Bun JavaScript runtime.
The server.ts
file includes the following features:
- Express server setup
- Static file serving to serve files from the
dist
directory 📂 - Error logging for server-side errors 📝
To run the server, follow these steps:
-
Clone this repository to your local machine 📦
-
Install project dependencies:
bun install
-
Start the server:
bun run server.ts
- The server will start running on http://localhost:${PORT} by default. You can modify the
PORT
.env variable to change the port inserver.ts
as needed.