loading...

Why I created a Node.js back-end service for my portfolio site

lornasw93 profile image Lorna Watson ・1 min read

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 single API Node.js back-end service to do the following:

  • Projects (GitHub)
    • Get all repos
    • Get repo readme
  • Blog (DEV.to)
    • Get all posts
  • Email (Nodemailer)
    • Send contact email (from x2 projects)
  • Text (Twilio)
    • Send text (just started playing around)

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. I've used Firebase Cloud Functions for this project and have started to play around with Heruko in another.

I developed a single service to do this purely for costing purposes - FCF costs, so I might move this project to Heruko eventually. Maybe once the code base is all nice and pretty... πŸŽ€

Thank you for reading, any feedback is welcome and info about deploying Node.js too - i.e. recommended platforms.

Posted on by:

lornasw93 profile

Lorna Watson

@lornasw93

Full-stack developer based in Leeds

Discussion

markdown guide
 

One of the best portofolio website I've seen. I also really like your CV template, do you mind telling me where you get it? :)

 

Really appreciate that thank you so much! The CV is from β€˜VisualCV’ online, a template builder. I highly recommend it, very clean and easy to use

 

Awesome work Lorna! I really liked the look & feel of your portfolio. Also, it's a delight to see more and more women getting in development. More power to you and women in tech.

 

Thank you Neeraj, your comment is really appreciated!! πŸ™‹πŸ»β€β™€οΈ Thank you so so much πŸ’ͺπŸΌπŸ™ŒπŸΌ

 

Nice!! This is an amazing project idea! Do you mind talking about the resources you used to learn node?

 

Thank you so much!! 😁😁 Absolutely. I'm very much a visual learner and do best by doing. In general, I looked for 'Nodejs API tutorials' and I was after short pages with simple code to start off. I wish I saved the useful links but didn't 😒 Something like codetips.co.uk/how-to-create-a-cru... and robinwieruch.de/node-express-serve.... Purely online googling tbh! It's been really fun to do/learn πŸš€

 

Thank you very much! I can’t wait to read this and dive in.

You're welcome, enjoy! πŸ‘πŸŽ‰

 

Cool website I also added a backend node server to my new website. I also noticed that you put your dev.to blog on your CV I did that recently too since becoming more active here.