Calgarypuck Forums - The Unofficial Calgary Flames Fan Community
Old 01-29-2020, 08:34 PM   #1
FanIn80
GOAT!
 
FanIn80's Avatar
 
Join Date: Jun 2006
Exp:
Default MEAN/MERN with mysql instead of Mongo?

Hey... So I have a data project coming up that I want to use a modified MERN stack on, but we have concerns about Mongo for something like this. This isn't an app with a db, this is a db with an app.

To that end, anyone have experience using one of the big three (oracle, mysql, ms sql) with a node/react stack? Do you know any video resources you can point me towards (Udemy / Lynda / YouTube)?

I don't need to learn about the db side (I'm pretty good with sql), I just need something that shows how to use a relational db with the stack.

Hopefully that makes sense!
FanIn80 is offline   Reply With Quote
Old 01-30-2020, 03:54 PM   #2
OutOfTheCube
Franchise Player
 
OutOfTheCube's Avatar
 
Join Date: Aug 2004
Exp:
Default

__________________
OutOfTheCube is offline   Reply With Quote
The Following 2 Users Say Thank You to OutOfTheCube For This Useful Post:
Old 01-31-2020, 02:42 PM   #3
Weirdness
Crash and Bang Winger
 
Weirdness's Avatar
 
Join Date: Apr 2006
Location: Langley, BC
Exp:
Default

Check out Sequelize. I got a bit of experience with it in my boot camp course, but I didn't use it outside of lectures since my final project didn't really need a database. My takeaway is it made using an SQL database a lot easier.





https://sequelize.org/
__________________
"I would love to be a goal scorer, but this is how I have to play. You do whatever brings meatloaf to the table."
Ville Nieminen

Last edited by Weirdness; 01-31-2020 at 02:46 PM.
Weirdness is offline   Reply With Quote
The Following 2 Users Say Thank You to Weirdness For This Useful Post:
Old 01-31-2020, 02:55 PM   #4
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

I've worked with (iteracted with maybe is better) node.js on the server, but it was only to serve up a SPA, the client side was all written by a front end dev in whatever framework (I can't even remember which). The server side I wrote in Grails, so I've never written anything server side using node.js

That said an ORM can really help a lot (I've used https://hibernate.org/ a lot, it's a Java ORM).

They do things a certain way so sometimes if you need to go outside how they want to do things it can be bothersome, and getting the ORM to create the tables exactly as you want them can sometimes be fiddly, but I found in general they save a lot of work.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
The Following User Says Thank You to photon For This Useful Post:
Old 02-04-2020, 03:52 PM   #5
kermitology
It's not easy being green!
 
kermitology's Avatar
 
Join Date: Oct 2001
Location: In the tubes
Exp:
Default

Quote:
Originally Posted by FanIn80 View Post
Hey... So I have a data project coming up that I want to use a modified MERN stack on, but we have concerns about Mongo for something like this. This isn't an app with a db, this is a db with an app.

To that end, anyone have experience using one of the big three (oracle, mysql, ms sql) with a node/react stack? Do you know any video resources you can point me towards (Udemy / Lynda / YouTube)?

I don't need to learn about the db side (I'm pretty good with sql), I just need something that shows how to use a relational db with the stack.

Hopefully that makes sense!
I just released a service that is using Typescript with MariaDB (MySQL). Hit me up if you want.
__________________
Who are the people in charge of this product and why haven't they been fired?
kermitology is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:16 PM.

Calgary Flames
2017-18




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2016