A simple, hands-on video to show you how to use NodeJS, Express and MariaDB together. Code can be found here -github.com/techedemic/node_ex...
Пікірлер: 31
@gelsonmatavela10 ай бұрын
Please, more videoss like that.... You're verry good coder, ... One love from Mozambique 🇲🇿
@fresh2183 жыл бұрын
Your english pronunciation is fine as it is, I understood everything perfectly!
@Faskosu2 жыл бұрын
Awesome video, I'm not a native English speaker and I could understand everything, also, loved the organic troubleshooting process, made me feel a lot better about my programming and not getting everything first try haha
@techedemic2 жыл бұрын
Yeah the false pretence that everything "just works" is what sometimes puts people off because they don't get it right as easily as some videos make it look. Glad you liked it :)
@wmm0073 жыл бұрын
Thank you! This is one of the best tutorials on KZfaq that I have encountered across multiple programming languages. Excellent comprehensive presentation style in my opinion 👍 👍 Well done.
@techedemic3 жыл бұрын
Thanks man! Comments like these means a lot and inspires me to make more...
@quickhand9246 Жыл бұрын
Hi there! Just went through this video thank you for the very thorough tutorial. Just FYI the Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client is caused by trying to set a response status header after it is already sent. (ex. res.status(xxx) is used twice in the same function). Well done anyway!
@techedemic Жыл бұрын
Thanks for the info!
@19TopGun933 жыл бұрын
Very very thank you for this video. This was my third tutorial to this thema. And now it runs as expected for my usage. Now I understand how I have to write my functions :) Thanks a lot
@techedemic3 жыл бұрын
It's a pleasure! I'll be making many more along the same lines... so remember to hit that 'subscribe' button and you'll be notified when they are uploaded!
@user-cj2ss7sn8e2 жыл бұрын
Great and thank you from Morocco
@tuncaysonmez7734Ай бұрын
great implementation.
@noname-dl4qu Жыл бұрын
Your Video helped me very much and i like how you explained everything! i hope you keep doing Videos like this bec. i can follow the steps better as if i'm reading it! i will try this with sequelize, but if this does not work i'm gona stick to your method. oh i cant write down my relief your video triggered in me
@techedemic Жыл бұрын
Glad you liked it! I'm working on something new.... out soon 😉
@sushantkumar38613 жыл бұрын
I am very helpful by this video... Thanks a lot... Please upload more for our learning
@techedemic3 жыл бұрын
Glad I could help you. What topic would you be interested in? Anything specific?
@Kank2888u2 жыл бұрын
This was a very well done tutorial. Thanks. I was also stuck when the .env file was read :/. Took some time but managed to figure it out.
@brunoe6604 Жыл бұрын
Thank you!!!
@actuallyisjoha Жыл бұрын
Thanks, helped me a lot!
@techedemic Жыл бұрын
Glad it helped!
@muhammadsuleman7281 Жыл бұрын
love you sir
@brianhayes11053 жыл бұрын
Very Nice! I'm a beginner and just starting out with the essentials of Javascript, NodeJS, and SQL databases like MariaDB and PostgreSQL. Your tutorial was a very nice introduction to querying and creating a basic database using NodeJS, ExpressJS, and MariaDB. It occurred to me that in production your .env-local has your database password in plain text. Is there a simple way to encrypt this file so that it requires a password to open it? I'm also running linux, but am relatively new to it and don't know the basics of this. Again, thank you for a fantastic tutorial!
@HendriSchoeman3 жыл бұрын
Remember, the idea is not to use the '.env-local' method in production. In production, these values should be passed via the command line as ENVIRONMENT VARIABLES. As such, the values should come from the environment. There are many ways to achieve this. For the sake of this video and for local development, storing these values in clear text should not be an issue. Also, don't push the `.env-local` file to git. I did it in this case to give you full access to the source coude after the fact but it's not good practice to do so in 'real life' You just gave my an idea for a topic for my next video :).. "Environment Variables in Node"
@IsusVonBier2 жыл бұрын
I'm getting "Do not know how to serialize a BigInt" response from post on register. Pasted your code from github just in case, same thing. Can't figure out why, even tried with 'body-parser'. Any ideas?
@Dm4hero2 жыл бұрын
It's because it's receveing something that cannot parse into a json. If you don't care about the view of the response you can use res.status(200) without .json(....)
@gillesmcdonald52993 жыл бұрын
Nice vidéo.. Please what theme and plugins you use for your VScode..? Thanks
@techedemic3 жыл бұрын
Theme is marketplace.visualstudio.com/items?itemName=wesbos.theme-cobalt2 Plugins... ooph..I use a lot, but the ones I cannot live without include:"ESLint", "Live Share", "Prettier"
@gillesmcdonald52993 жыл бұрын
@@techedemic perfect thanks
@tastypatrick29032 жыл бұрын
What exactly do you use Express for? Edit: All I know is for API endpoints
@techedemic2 жыл бұрын
Express is a framework for handling http(s) based requests. In it's simplest form, it handles the typical HTTP GET, POST, PUT, DELETE methods for you, but it supports middleware which means there is an vast array of utilities you can include as part of your express setup. Things like PassportJS (for authentication) is an example of a middleware library you can include with ExpressJS. Yes, node does have http/s functionality baked in, but Express is more comprehensive functionality wise and simplifies things tremendously. Other frameworks similar to express include Koa. I hope this answers your question?