Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

Saturday, July 15, 2023

Things that make you wonder

I connected my project to MongoDB. Nice and easy. 

The tutorial shows what happens if there is an error in the .env file. 

I duplicate it, changing the url in the .env file, and stop nodemon from running, as nodemon does not rerun if you make changes to .env files. 

I start it back up, and it crashes as expected. 

I fix the url, and start it back up. 

It crashes. 

Using that weird logic that says "What if you do this semi-random thing?" and added a space at the end of a line in a non .env file. 

Boom! it runs. 

I remove that useless space. 

It crashes. 

I feel like I need a comment that says "Leave this space alone. If you remove it the system crashes. We have no idea why". 

Also, I am getting a lot out of this tutorial by Raddy: 

MERN Starter Tutorial for Beginners - https://youtu.be/0osXx2oJu44

Wednesday, April 12, 2023

Learning's what it's all about

 Spending the morning with a React tutorial, as I wait to find out what our group project will be.

I am seeing why people like React... even if I did just spend an hour trying to make it see a file. It was a BCAK (between chair and keyboard) issue, as I was missing the second period in an import.
But, having made that mistake, I'll recognize it next time, and solve the issue faster.
::: to the tune of hokey pokey ::: "Learning's what it's all about"

We can't do that here

I remember years ago looking over a book, Automate the Boring Stuff with Python, and thinking how this would be so useful at work. Half of m...