Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Gustavo Winter
PLUS
Gustavo Winter
Courses Plus Student 27,382 Points

Node.js - Can i make my own database ?

Hi, i have a project in progress- business accounting.

I need to use a database for this, but i want to use the client HD to do this. How can i do that ? Can i acess this database using Node.js ?

I'll appreciate any help or even topics where i can find orientation.

Thanks

Steven Parker
Steven Parker
231,269 Points

I'm unfamiliar with the term "client HD" .. what's that?

2 Answers

Gustavo Winter
PLUS
Gustavo Winter
Courses Plus Student 27,382 Points

Hello again, Steven Parker.

What I mean by "Client hd", is the app will run only in his computer. So, my idea is to storage the data on his HD, (The client HD).

Steven Parker
Steven Parker
231,269 Points

Is Node running on the client? Or do you have a Node-based server that you want to work with a client's browser and store something at the client end?

Gabriel Santos
Gabriel Santos
4,113 Points

Would the project will be live? or is just personal use?

if personal, then you can use localhost?

if live then mongoDB or MySQL.

https://www.w3schools.com/nodejs/nodejs_mysql.asp