Before you can run this application, you will need to have the following installed on your machine:
- Bun:
curl -fsSL https://bun.sh/install | bash
- MongoDB (version 3 or higher)
- Clone the repository.
- Install the dependencies:
bun install
. - Create a
.env
file in the root directory of the project and add the following environment variables:MONGODB_URI=<your_mongodb_uri>
JWT_SECRET=<your_jwt_secret>
PORT=<port>
. Omit in order to use the default value (3000
).
Start the application using bun run src/app.ts
.