This project is a web application built with TypeScript, MongoDB, Node.js, and Bun.js. The project aims to provide a scalable and efficient backend system for managing data with MongoDB, while utilizing the performance benefits of Bun.js.
-
Clone the repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name
-
Install dependencies using Bun:
#MacOS
curl -fsSL https://bun.sh/install | bash
#Windows
powershell -c "irm bun.sh/install.ps1|iex"
bun install
-
Set up your environment variables:
Create a
.env
file in the root directory and configure the following variables:DB_CONNECT_USERNAME= DB_CONNECT_PASSWORD=
-
Start the development server:
npm install
npm start
├── src/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── services/
│ ├── app.ts
│ └── index.ts
├── .env
├── .eslintrc.json
├── .gitignore
├── package.json
├── tsconfig.json
└── README.md