
Intensity, highs and lows, and spaghetti – this week had it all!
More complexity layered on what we learnt last week and a sense of building to a 5 -day sprint next week according to our calendar. This meant more files for database seeding, routers, controllers, models, error handling, testing, utilities, etc. It seems like spaghetti code but there is structure there.
There has to be separation of concerns, the alternative is chaos, needle in a haystack time. Finding a typo in 500 lines of code.
I found myself getting disorientated at times: what should I require here? Do I need to destructure? What is the actual purpose of this function? Think, what is being returned, does it need to be returned? I am SO SLOW!!!
Break, breathe, it is not a race. You are not competing with anyone, except yourself – had to remind myself this a few times this week.
Although I did not finish everything I wanted to, I feel prepared for an extended project to consolidate what I have learned and maybe learn some more – in a word: progress.
This weeks tech roll call:
- node-postgres to query PostgreSQL data from within an express server.
- Using environment variables to auto-use test or development data.
- Introduction to Supertest to test endpoint responses from a server.
- Node environments and dotenv.
- Using error handling middleware in an express application.
- Identifying PSQL errors and creating custom errors.
- Setting up routes using express.Router()
- Connect to different PostgreSQL databases programmatically.
- Seeding database tables programmatically.
- Manipulating data to conform to database requirements.
- SQL injection and handling it with pg-format.
- Handling optional queries in a request.
- Testing the order of a response body using a particularly excellent npm package.
Read more of Rich’s blog pieces: https://blog.webdevri.ch/

Rich’s Coding Bootcamp Odyssey – Week 6
Intensity, highs and lows, and spaghetti – this week had it all! More complexity layered on what we learnt last week and a sense of building to a 5 -day sprint next week according to our calendar. This meant more files for database seeding, routers, controllers, models, error handling, testing, utilities, etc. It seems like…
Why Northcoders students should write a journey blog
Who am I? Hey 👋 I’m Fearne. I graduated from the May cohort on 6th August, and I’m a few weeks into my Junior Full Stack Development job at Asda, I’m working with React Native and using so many of the skills that I learnt on the NC bootcamp. Feel free to check out my GitHub, Dev.to,…
Coding Jargon Explained – A Beginner’s Guide
We know coding and its terminology can appear complicated from the outside, which is why we have created this beginners guide of simple tech jargon, to make it really easy to understand! Code So, let’s start off with the most common term. Code is essentially a set of written instructions using numbers and letters, which…
The Benefits of Test-Driven Development (TDD)
The idea behind test driven development is that you let the tests ‘drive’ your development process. How does this work? Start by writing a test that fails, then develop the code to make that test pass, then refactor. This cycle is called red, green, refactor. A diagram to show the red, green, refactor TDD cycle RED: The…
How to choose which coding language to learn first
Choosing which programming language to learn can be very daunting. There are over 700 languages currently listed by Wiki. Where should you begin? If you take anything away from reading this, it should be one key point; we strongly recommend learning one language in-depth and not two or three casually. What can happen if I choose…
Coding Bootcamp vs. Self Study: Pros & Cons Explained
If you’re starting to code, you’ll have a few different routes to take with your learning process. Everyone is different, so working out what’s the best option for your journey is important. We’ve outlined some pros and cons of bootcamp vs. self-study to help you make a decision. Self Study Pros Cons Coding Bootcamps Pros…
5 Resources to Learn to Code for Absolute Beginners
Whether you used to tinker with your MySpace profile or have no idea what the difference is between Python and HTML, one thing’s true: everyone starts somewhere. And the great news is, there are more free (and friendly) ways to get into coding today than ever before. Here are some great places to start… freeCodeCamp…
The Beginner’s Guide to forEach, map and filter in JavaScript
What even are JavaScript Array Methods? Now that you’re getting started with the basics of JavaScript, at some point soon you’ll likely come across three seemingly magical words in many code examples: .forEach(), .map() and .filter(). When you go to loop through (or iterate through) an array, the first thing you think of is probably a for loop. .forEach(), .map() and .filter() are all just other ways…
You CAN Become a Software Engineer Without a Degree. Here’s How
You don’t need to study computer programming at uni to get your foot on the coding career ladder. With the right help, training and support, you could go from absolute beginner to junior engineer in as little as 13 weeks — no qualifications required. Here’s how… For those pursuing a career in software development, the…
Ellie: Mechanical Engineer to Software Developer
It definitely lived up to the hype. I was very focused on finding the ‘right’ job – I really felt they understood what I wanted How did you find your time on the bootcamp? I already had great expectations of the course after hearing about it from a friend, and it definitely lived up to…
Reduce: Five Unusual Uses
…for the best thing in JavaScript The array method reduce is the best thing in JavaScript, but it’s only existed as a native method of the language since 2009 or so, when the 5th Edition of ECMAScript was released. Before then, people would have relied on their own or other implementations. Even now, there are arguments for going elsewhere…
React: componentWillMount to be deprecated!
Our React teaching team follow developments in the Facebooks UI-creating library very closely. We update our curriculum every 2 weeks, and recently they came across an update worth sharing with everyone! This is a blog for anyone who builds User Interfaces with React! Some very important features are improving – but it’s important everyone knows…