Skip to content

Codativ/Mongodb-Nodejs-bun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My TypeScript Project with MongoDB, Node.js, and Bun.js

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.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repo-name.git
    cd your-repo-name
  2. Install dependencies using Bun:

#MacOS

curl -fsSL https://bun.sh/install | bash 

#Windows

powershell -c "irm bun.sh/install.ps1|iex"
bun install
  1. Set up your environment variables:

    Create a .env file in the root directory and configure the following variables:

    DB_CONNECT_USERNAME=
    DB_CONNECT_PASSWORD=
    

Usage

  1. Start the development server:

    npm install
    npm start

Project Structure

├── src/
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   ├── services/
│   ├── app.ts
│   └── index.ts
├── .env
├── .eslintrc.json
├── .gitignore
├── package.json
├── tsconfig.json
└── README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published