You are browsing as a guest. Sign up (or log in) to start making projects!

Gold Digger

  • 5 Devlogs
  • 5 Total hours

A basic web project to explore Node.js Backend

Ship #1

I created the Backend for this Gold Digger website to learn more about Node.js. Implementing all this at first was kinda pain at first as I had to constantly switch between different files. I also built an algorithm to generate gold prices instead of using external APIs so it’s fake. I didn’t use an external API because they have long update-times (more than 10 minutes while I update the price every 2 seconds). I guess building a thing without a Framework like Express.js makes you appreciate Frameworks more!
Please rate this project more based on the Backend code rather than the website’s idea/frontend. Thank you!

  • 5 devlogs
  • 5h
Try project → See source code →
Open comments for this post

1h 42m 33s logged

Devlog #4!
I finally added the ability to invest in (fake) gold. It was pretty tough because I had to constantly switch between frontend code, backend, and utility functions.
You set the amount you want to invest in British pounds then it’ll send a POST request to the backend and the backend will log the purchase in a record file.
Next step should be adding final touches and shipping!

0
0
39
Open comments for this post

1h 25m 8s logged

Devlog #3!!
Yesterday I:

  • Implemented a small fake algorithm to generate gold prices (basically it starts with an initial realistic price and then it modifies the price overtime)
  • Updated gold prices live on the Frontend using SSE (Server-Sent Events)

I wrote a very organized code which I’m proud of!

0
0
71
Open comments for this post

45m 5s logged

Devlog #2
The backend is now working!! I created a Node.js http server & implemented the serve static function, which simply serves static files based on the URL. I also learnt about the Node.js –watch flag, which makes the development experience a lot better!

3
0
89
Open comments for this post

47m 31s logged

Devlog #1
Sooooo I’m basically learning Node.js backend and I’m creating a backend (serving static files, handling requests, etc) for this Gold Digger frontend. Stay tuned!

0
0
128

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…