Why I created a Node.js backend service for my portfolio site

lornasw93

Lorna Watson

Posted on August 8, 2020

Why I created a Node.js backend service for my portfolio site

When I originally wrote this I used Google's Firebase Cloud Functions and has since changed, this post has been slightly updated to reflect that

When I started developing my website I never thought I'd be using a back-end API service, I mean what's the need? Surely a portfolio should be pretty simple and at minimum contain pages such as about, projects and contact?

For a while now, I've been spending a lot of my spare time working on projects and getting to grips with new tech - including Node.js. I created an opportunity for myself to showcase what I've learnt.

I've developed a API Node.js back-end service to do the following:

  • Projects (GitHub)
    • Get all repos with basic stats
    • Get repo readme
  • Blog (DEV.to)
    • Get all posts with basic stats
  • Email (Nodemailer)
    • Send contact email

You can find the repo here. I have a config file that's included in gitignore for smtp settings, github token and twilio dets. If helpful I can include the layout of this here at some point? Anyway...

I'm still learning Node.js and next I want to tidy the code base up i.e. add controllers, services and routes. Thank you for reading and any feedback is welcome. πŸ˜‡

πŸ’– πŸ’ͺ πŸ™… 🚩
lornasw93
Lorna Watson

Posted on August 8, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related