---
title: "Discussion on \"How to setup different database for development and testing in NodeJS\" | Hashnode"
description: "Discussion on \"How to setup different database for development and testing in NodeJS\". Obviously we do not want to mess up our development and test data and hence want to setup a different database for both the purposes."
url: "https://hashnode.com/posts/how-to-setup-different-database-for-development-and-testing-in-nodejs/66571de6ba7a1673343cc02d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to setup different database for development and testing in NodeJS](https://rajatgupta.net/how-to-setup-different-database-for-development-and-testing-in-nodejs?utm_source=hashnode&utm_medium=feed)

Obviously we do not want to mess up our development and test data and hence want to setup a different database for both the purposes.

May 29, 2024 · 2 min read · rajatgupta.net  
Read the article

-   [#mocha](https://hashnode.com/tag/mocha)
-   [#chai](https://hashnode.com/tag/chai)
-   [#testing](https://hashnode.com/tag/testing)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#express](https://hashnode.com/tag/express)
-   [#expressjs-cilb5apda0066e053g7td7q24](https://hashnode.com/tag/expressjs-cilb5apda0066e053g7td7q24)

## Written by

[Rajat Gupta](https://hashnode.com/@therajatg)

@therajatg · Rajasthan, India

  
[View profile](https://hashnode.com/@therajatg)

I write about CSS, JavaScript, React and everything in between.

Hi, I am rajat. I write about react, javascript or css 4 times a week. One more thing: I would love to work as a frontend engineer (focused on ReactJS). If you have any such role, ping me at dguptarajat@gmail.com.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
