Certainly! Here's the updated README.md file with instructions to use npm i for installing dependencies:
# Project Setup
## Install Dependencies
Before starting, make sure to install project dependencies using:
```bash
npm i
To launch the server, use the following command:
npm run dev
Compile TypeScript to JavaScript with:
npm run build
Ensure code consistency using Prettier:
npm run format
Create an .env
file at the root of your project to manage environment variables. Define necessary configurations such as:
PORT=3000
DATABASE_URL=mongodb://localhost:27017/mydatabase
API_KEY=your_api_key
Note: Keep the .env
file secure and do not expose sensitive information.