This morning I created my first web app using nodejs, ejs and mysql. Am trying to use React goinf forward.
From what I understad, I’ll need a backend node app to expose the REST API’s and another for the React front end.
Started doing this in windows and then realized I should be doing it in Linux.
I have a dual boot computer with Windows 10 and Linux Mint. Wasted a lot of time today – hours- when I tried to log in to Linux after a long, long time, like 4 months. Instead of GUI login prompt of Linux Mint, I was always getting the Linux terminal prompt. This was probably because of disk space issues.
Well, I was finally able to boot into Linux in maintenance mode/safe mode. After spending some time, somehow I got an option to clean up the system and also ‘repair packages’. I tried this out, and rebooted normally. I was finally able to get the normal gui login. Once in, I tried to installl nodejs etc. Shorttly after that my firefox started crashing and chrome wouldn’t start at all. I was also getting ‘no disk space’ warnings.
Well, well.
A couple of more hours into it and I booted back into windows, shrank C drive, got some unallocated/free space of about 27GB.
I booted from a linux mint Live USB drive and used the gparted command to resize the partition having disk space issues, it took some time to figure out how to do it, but I was finally able to increase the partition size. I booted back into Linux Mint, just to be able to use my Linux.
Next, I use this cute little tutorial to install node and react and create a sample first app.
…and felt like writing this blog post after hours of pain today, Wish me luck!