Skip to content

Latest commit

 

History

History
 
 

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Server README

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.

server.ts Overview ℹ️

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 📝

Installation and Running 🛠️

To run the server, follow these steps:

  1. Clone this repository to your local machine 📦

  2. Install project dependencies:

    bun install
  3. 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 in server.ts as needed.