arrow-left

All pages
gitbookPowered by GitBook
triangle-exclamation
Couldn't generate the PDF for 207 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

learning-outcomes

hashtag
Single-page app

hashtag
Client rendering

hashtag
Error handling

hashtag
Design (UI/UX)

hashtag
Testing

Handle errors that occur in async code
  • syllabus

    app

    introduction

    learning-outcomes

    See week 1 for the learnings relating to the server topic.

    spikes

    hashtag
    ES Modules

    How can we modularise our client-side JavaScript?

    hashtag
    Questions to consider

    • What are the different ways we can import/export code? What does "dynamic import" do?

    • Why might using hundreds of small modules in the browser cause performance problems?

    hashtag
    Useful resources

    hashtag
    Browser rendering

    What is the "critical rendering path" in browsers?

    hashtag
    Questions to consider

    • How does the browser render an HTML page containing links to CSS and JavaScript files?

    • What does "render blocking" mean?

    • What do the async and defer keywords do?

    hashtag
    Useful resources

    hashtag
    Browser caching

    How can we avoid unnecessary network requests?

    hashtag
    Questions to consider

    • What is HTTP caching?

    • How can our server tell browsers to cache our responses?

    hashtag
    Useful resources

    hashtag
    Image performance

    How we can efficiently serve image assets?

    hashtag
    Questions to consider

    • How can we optimise image file size?

    • How can we render different images at different viewport sizes?

    hashtag
    Useful resources

    Modules | JavaScript for impatient programmersarrow-up-right
    ES modules: A cartoon deep-divearrow-up-right
    Understanding the Critical Rendering Patharrow-up-right
    Efficiently load JavaScript with defer and asyncarrow-up-right
    HTTP Caching | Web Fundamentalsarrow-up-right
    The HTTP cache: your first line of defensearrow-up-right
    Image Optimization | Web Fundamentalsarrow-up-right
    Responsive Images: If you’re just changing resolutions, use srcsetarrow-up-right
    Native lazy-loading for the webarrow-up-right

    developer

    project

    There is no project during Introduction Week. See Week 1 for the project relating to the server topic.

    resources

    These resources are helpful extra reading that may clarify or enhance concepts you're learning in the main curriculum.

    • hashtag
      Learn nodejs.devarrow-up-right

      Official counterpart to the Node docs. Useful for getting realistic examples of features when the docs are overwhelming and confusing.

    • hashtag

      Popular (if slightly outdated) overview of what Node is and how it works.

    • hashtag

      General background info on how servers work

    Art of Nodearrow-up-right
    What is a web server?arrow-up-right

    week00-pre-course

    Employability introduction

    • Introduce the software developer labour market landscape

    • Introduce the Employer Engagement function

    • Introduce employability curriculum

    • Explore multi-modal strategies for finding employment

    resources

    hashtag
    Project

    • Quickstart for Projectsarrow-up-right

    hashtag
    Async

    hashtag
    CSS

    hashtag
    Accessibility

    hashtag
    GIT

    Introducing asynchronous JSarrow-up-right
  • Codecademy JavaScript Async Course (Free. 3 hours)arrow-up-right

  • Flex children examplesarrow-up-right An explanation of how flex-grow, flex-shrink and flex-basis work for elements inside a flexbox container.
  • CSS Guidelinesarrow-up-right

  • BEM Methodologyarrow-up-right

  • Composition - Every Layoutarrow-up-right

  • Boxes - Every Layoutarrow-up-right

  • CSS Layout - MDNarrow-up-right

  • Async JavaScript Youtube tutorialarrow-up-right
    JavaScript Promises Youtube tutorialarrow-up-right
    Async Await vs Promises Youtube tutorialarrow-up-right
    Units - Every Layoutarrow-up-right
    The lengths of CSSarrow-up-right
    How To Write Mobile-first CSSarrow-up-right
    What a Year of Learning and Teaching Accessibility Taught Mearrow-up-right
    Why, How, and When to Use Semantic HTML and ARIAarrow-up-right
    Intearctive tool to learn Git branchingarrow-up-right

    schedule

    schedule

    spikes

    • hashtag
      Introduction to the DOMarrow-up-right

      An overview of the fundamental ways you can dynamically change a page with JS.

    week01-project01-basics

    spikes

    hashtag
    CSS architecture

    How should you write CSS to ensure it's easy to read, maintain and scale as a website grows?

    hashtag
    Questions to consider

    1. Why are CSS naming conventions useful?

    2. When might specificity become a problem?

    3. How can composition help us build UIs?

    hashtag
    CSS layout

    How does CSS decide where to put elements on the page?

    hashtag
    Questions to consider

    1. What is the box model?

    2. How does the display property affect layout?

    3. How does the position property affect layout?

    hashtag
    Responsive design

    How do you design and build a webpage that looks good on any device?

    hashtag
    Questions to consider

    1. What CSS units should we use for dimensions? What are absolute and relative units?

    2. When should you use a media query? Are they only for screen size?

    3. How can mobile-first CSS make responsive styling easier?

    hashtag
    Github projects

    hashtag
    Questions to consider

    1. How can we leverage Github projects to help us plan and track work?

    hashtag
    Accessibility

    How do you write markup so that your page is accessible to as many users as possible?

    hashtag
    Questions to consider

    1. Who does semantic HTML benefit?

    2. How does ARIA relate to HTML?

    3. What's the difference between accessible and inclusive?

    Homework

    This is a guide to what you should be doing for homework each week. Please reach out to your CFs if you are unsure of what to prioritise between sessions.

    • Complete the Git, CSS, Semantic HTML, Accessibility and HTML forms workshops ahead of Week 1

    • Complete the Asynchronous JS, Promises & fetch, Real-world fetch and Promise practice workshops ahead of Week 2

    • Complete your user manual

    • Complete your Week01 progress log

    • Complete github profiles

    • Project work

    • Create a presentation on HackMD

    project

    Your project this week is to build a frontend for one of the APIs from REST API week. It should be a single-page app rendered with client-side JavaScript.

    If your team don't have a finished API, or don't want to use it, you can use the Dogs APIarrow-up-right from the workshops. The readme contains documentation of all the endpoints.

    hashtag
    User stories

    hashtag
    Core

    • As a user, I want to: see all the resources

    • As a user, I want to: sign up for an account

    • As a user, I want to: log in to my account

    hashtag
    Stretch

    • As a user, I want to: update my own resources

    • As a user, I want to: delete my own resources

    Since this project is open-ended you'll need to write your own more specific user stories once you know what you want to build.

    hashtag
    Acceptance Criteria

    hashtag
    Stretch criteria

    We'd like you to spend some time before starting the course working on useful fundamentals.

    1. Command-line primerarrow-up-right

      Digital Ocean's Command Line Primer is a great intro to using your terminal. It says it's for Linux but it's applicable for Macs, and Windows if you're using something like WSL or Git Bash.

      Try to practice using your Terminal to navigate your computer as you're working on other tasks.

    2. Markdownarrow-up-right

      GitHub's Markdown introduction introduces using the Markdown language to quickly write simple HTML. Practice your Markdown by writing README.md files for your GitHub repositories. Try to include some headings, lists, images, and maybe even a table.

    3. Execute Program is an interactive code learning platform. Their JS Arrays course is a great recap of things you might have already come across, and should also have some interesting new things.

      You should be able to get started with a free account—we can get you paid access later when this runs out.

    learning-outcomes

    hashtag
    Accessibility

    hashtag
    Design

    hashtag
    Workflow

    hashtag
    HTML Forms

    project

    Your challenge is to build an agency website for your team.

    Your website should give potential clients:

    • An introduction to your agency

    • Information about each member of your team

    • A way to get in touch if they are interested in working with you

    hashtag
    User Stories

    A is a description of one or more features of a piece of software.

    hashtag
    Core Stories

    As a potential client, I want to:

    • See information about each member of your team so that I can know who you are

    • Browse your website on mobile, tablet, and desktop devices

    • Click to navigate to different sections of your webpage

    Additionally, as a visually impaired user, I want to:

    • Navigate your website using keyboard controls

    • Hear my screen reader describe the content on your website

    hashtag
    Repository naming convention

    Please name your repo following this template: PRO01_Name1_Name2_Name3_Name4

    hashtag
    Acceptance Criteria

    User stories come with - a detailed scope of a user’s requirements.

    • Navigation menu

    • ‘About us’ section

    • Contact form

    • A user cannot submit a form without filling out all of the mandatory fields (name, company name, email address)

    hashtag
    Stretch Goal

    Use the automatic trigger functionality of your .


    Finally, feel free to get creative with the content of your website! Good luck!

    Week of September 9th

    This week is focused on the fundamental building blocks of web pages—accessible, semantic HTML, and well-organised CSS.

    hashtag
    Workshops

    hashtag
    To be completed AHEAD of Week01

    hashtag
    To be completed on Induction day

    • . Repo name: Work01_Git_YourName

    • . Repo name: Work02_GitHubProjects_YourName

    hashtag
    To be completed on Week01

    • . Repo name: Work03_Async_YourName

    • . Repo name: Work04_FetchAndPromises_YourName

    • . Repo name: Work05_Fetch_YourName

    hashtag
    Execute Program

    hashtag
    Topics

    • Safeguarding Quiz

    • Dev machine setup

    • Project planning and development (GitHub Projects)

    As a user, I want to: add my own resources

    Form for adding new resources (only for logged in users)
  • Execute Program's JS Arrays coursearrow-up-right
    CSS Layout workshoparrow-up-right
    Semantic HTML workshoparrow-up-right
    Accessibility workshoparrow-up-right
    HTML Forms workshoparrow-up-right
    (Stretch) Execute Program's Modern JS coursearrow-up-right
    Contact you to enquire about working with you
  • Visit your website at a publicly accessible domain name

  • Information from the form doesn’t get submitted until the user clicks a button

  • user storyarrow-up-right
    acceptance criteriaarrow-up-right
    GitHub project boardarrow-up-right
    HTML Forms workshoparrow-up-right
    Promise practice workshoparrow-up-right. Repo name: Work06_Promises_YourName
  • Pokemon promises vs async/awaitarrow-up-right. Repo name: Work07_PromisesVSAsync_YourName

  • User Manualsarrow-up-right

  • Progress Logsarrow-up-right

  • Introduction to GitHub profiles. GitHub Profile Generatorarrow-up-right https://rahuldkjain.github.io/gh-profile-readme-generator/

  • Project introduction

  • Live code session: project code review

  • HackMDarrow-up-right

  • Project presentationsarrow-up-right

  • CSS Layout workshoparrow-up-right
    Semantic HTML workshoparrow-up-right
    Accessibility workshoparrow-up-right
    Git workflow workshoparrow-up-right
    GitHub Projects workshoparrow-up-right
    Asynchronous JS workshoparrow-up-right
    Promises & fetch workshoparrow-up-right
    Real-world fetch workshoparrow-up-right
    Execute Program Javascript Concurrencyarrow-up-right
    Safeguarding and Preventarrow-up-right

    schedule

    week02-project02-chatbot

    spikes

    hashtag
    Asynchronous JavaScript

    How does JS handle asynchronous code?

    hashtag
    Questions to consider

    1. What's the difference between "synchronous" and "asynchronous" code? Why might synchronous code be called "blocking"?

    2. What are the event loop and the call stack?

    3. How do callbacks and promises help us?

    hashtag
    Testing methodologies

    How do different testing methodologies try to improve the way we write tests?

    hashtag
    Questions to consider

    1. What is Test-Driven Development (TDD)? Can it help us write better code?

    2. What is Behavior-Driven Development (BDD)? How do we translate user requirements into automated tests?

    3. What is test coverage? Can this tell us about the quality of our tests?

    resources

    • What is a web server?arrow-up-right General background info on how servers work

    • npm for absolute beginnersarrow-up-right Kevin Powell's video (Just ignore Astro recomendation at the very end)

    • HTTP topic introarrow-up-right

    • A comic explaining what happens when you type a URL into your browser.

    • Describes the HTTP protocol in a lot more detail. May be useful if you like learning exactly how stuff works under-the-hood, but may also be overwhelming.

    • How functions and callbacks work in JavaScript. Based on a workshop from this week's curriculum.

    • Good testing practices so you can be confident your tests are working.

    • A comparison of creating DOM elements manually versus using the <template> element. Useful technique if you're dynamically rendering lots of stuff with JS.

    Week of September 16th

    Learn how to manage asynchronous tasks and send HTTP requests using JavaScript.

    hashtag
    Workshops

    hashtag
    To be completed on Monday

    • . Repo name: Work08_Node_YourName

    • . Repo name: Work09_NodeAndExpress_YourName

    hashtag
    To be completed on Friday

    • . Repo name: Work10_IntroTesting_YourName

    • . Repo name: Work11_TestLibrary_YourName

    • . Repo name: Work12_UnitTesting_YourName

    hashtag
    Execute Program

    hashtag
    Topics

    • Introduction to commonJS modules

    • Introduction to testing

    • Introduction to Express

    • Intro to testing, Build a testing library, Unit testing, Integration testing and TDD workshops

    How DNS Worksarrow-up-right
    HTTP Overview - MDNarrow-up-right
    First-class Functionsarrow-up-right
    What the heck is the event loop anyway? (video)arrow-up-right
    TDD changed my lifearrow-up-right
    Behavior Driven Development and Functional Testingarrow-up-right
    Test Coveragearrow-up-right
    Make Your Test Failarrow-up-right
    The advantages of the template elementarrow-up-right
    Integration testing workshoparrow-up-right. Repo name: Work13_IntegrationTesting_YourName
  • TDD workshoparrow-up-right. Repo name: Work14_TDD_YourName

  • Elevator pitch workshop

  • Project presentationsarrow-up-right

  • Node & npm introduction workshoparrow-up-right
    Node and Express HTTP Serverarrow-up-right
    Intro to testingarrow-up-right
    Build a testing libraryarrow-up-right
    Unit testing workshoparrow-up-right
    Execute Program Basic Typescriptarrow-up-right

    week04-project03-frontend

    week03-project03-server

    schedule

    Week of September 23th

    Learn how to create a Discord chatbot using Node.js, integrate it with OpenAI's API, and implement testing for your bot.

    hashtag
    Workshops

    • Developer toolingarrow-up-right. Repo name: Work15_DeveloperTooling_YourName Check resources

    • . Repo name: Work16_React_YourName

    hashtag
    Execute Program

    • .

    hashtag
    Stretch

    hashtag
    Topics

    • Express server using Node

    • RESTful API development

    • External API integration and management

    • JSON data handling and mock database operations

    resources

    hashtag
    React

    • hashtag

    • hashtag

    • hashtag

      A framework agnostic tool that allows for quick setup of a React app with TS

    • hashtag

      Official React docs on typescript with interactive examples

    • hashtag

      A quick reference guide to basic React patterns

    • hashtag

      A more guided resource of this material

    • hashtag
      A powerful hook for passing state values in your application without prop drilling

    hashtag
    Figma

    • hashtag

      Basic exercises for beginners

    UI for Quizzer App

    Your project this week is to build the front end to consume the RESTful API you designed and built last week. You should think and plan what features and look you want to your quiz app to have. You might considered making some wire frames or a prototype using a tool like Figmaarrow-up-right.

    hashtag
    User Stories

    As a quizzer, I want to:

    • Begin a quiz session with randomly generated questions.

    • Filter quiz questions by subject and difficulty.

    • Select a chosen number of questions.

    • See a summary of my results after completing a quiz.

    • Add, edit, and delete quiz questions and answers.

    hashtag
    Stretch user stories

    • Like particular questions and filter by this category.

    hashtag
    Acceptance Criteria

    hashtag
    Stretch criteria

    hashtag
    Repository naming convention

    Please name your repo following this template: PRO03_FRONT_Name1_Name2_Name3_Name4

    Testing and deployment

    hashtag
    Testing

    hashtag
    Deployment

  • Understand the process of building and optimizing the application for production (S10, S14, B3)
  • Server-side logic for quiz generation and processing

  • Error handling and validation in API development

  • CRUD operations implementation

  • API documentation techniques

  • Asynchronous programming in JavaScript

  • Introduce learners to the concept of an ‘elevator pitch’

  • Project presentationsarrow-up-right

  • Building client-side apps with Reactarrow-up-right
    Execute Program Everyday TypeScriptarrow-up-right
    Execute Program Advanced TypeScriptarrow-up-right
    hashtag
    Figma Youtube tutorial. 0:16arrow-up-right
  • hashtag
    Figma Youtube tutorial. 0:24arrow-up-right

  • hashtag
    Figma Youtube tutorial. 1:13arrow-up-right

  • React Mindsetarrow-up-right
    Youtube React Course (Net Ninja)arrow-up-right
    Creating a React app with Vitearrow-up-right
    React Docsarrow-up-right
    React/Typescript Cheat-sheetarrow-up-right
    Free Code Camp React/TS guidearrow-up-right
    useContext Hookarrow-up-right
    Figmaarrow-up-right

    schedule

    learning-outcomes

    hashtag
    React

    hashtag
    Node

    hashtag
    Software Architecture

    schedule

    week05-project03-test-deploy

    week06-project04-databases

    project

    Your project this week is TBC

    hashtag
    Intro

    Learners will develop an end-to-end dynamic e-commerce web application where users can browse and purchase products online.

    The frontend of this project will be built using React. For the backend, it will use Node.js and Express to handle server-side functionality. User accounts and product data will be stored in a SQLite database.

    hashtag
    Project

    Your project for the next week will be to develop a Express backend connected to a SQLite database and linked to a React frontend. Your UI should provide methods so that users can search for and display information about items and add them to a shopping cart. It is up to you to determine the process and order you take to achieve this, but should plan this carefully and attempt to anticipate any hurdles you approach will encounter.

    hashtag
    Spike

    Before you start writing features you need to design the schema for your data. Think about what different things your app needs to store, how they relate to each other, and how you can avoid duplicating information. Record your schema in your README.md using Markdown tables. Consider embedding a to help visualise the relationships.

    hashtag
    Questions to consider

    1. What kinds of data relationships are there?

    2. What’s a foreign key? How can they help us design schemas with relational data?

    hashtag
    User stories

    As a shopper, I want to:

    • See a homepage with content when I log in

    • Be able to navigate between different pages of the app

    • View a list of products when I visit the products page

    hashtag
    Stretch user stories

    • View and edit items in my shopping cart

    • Complete the checkout process to "purchase" products in my cart

    • See confirmation when an order is placed successfully

    hashtag
    Repository naming convention

    Please name your repo following this template: PRO04_Name1_Name2_Name3_Name4

    hashtag
    Acceptance criteria

    hashtag
    Stretch

    project

    hashtag
    1. You are going to create a chatbot that you will deploy in a Discord channel

    Discord Preparationsarrow-up-right

    hashtag
    Core user stories:

    1. Project Setup with Libraries: As a back-end developer, I want to set up a new Node.js project in VS Code with the discord.js and openai libraries using require('discord.js') and require('openai') after installing them with npm, so I can start building my bot with all necessary functionalities.

    2. Secure Configuration

    hashtag
    Stretch user stories:

    1. Messaging Users Directly:

      Hint: Utilise the user.send() method in Discord.js to send direct messages to users. Retrieve the user object through events or commands that the bot receives.

    2. Dialogue Boxes and Interactive Responses:

      Hint: Implement Discord's message components like buttons and select menus using

    hashtag
    2. You are going to integrate testing into your Discord chatBot project.

    The following user stories are designed to guide you as you integrate testing into your Discord chatBot project. If there are some which are not appropriate to your project, you do not have to integrate these. You can create your own tests that are relevant to your project.

    hashtag
    Possible user stories:

    As a back-end developer, I want to...

    • verify Discord.js integration by creating a test function that creates a new Discord client

    • ensure that the OpenAI library is correctly integrated by creating a test function that attempts to use the OpenAI API to create a simple chat completion or query

    • test that my bot securely loads API keys from the .env file, confirming that no sensitive information is hard-coded

    hashtag
    Repository naming convention

    Please name your repo following this template: PRO02_Name1_Name2_Name3_Name4

    resources

    hashtag
    Typescript

    • hashtag

    hashtag
    Devtools

    hashtag
    Express and RESTFUL APIs

    • hashtag

      A guide on setting up the tools for this weeks project. Good explanation on generating and modifying a TS config file

    learning-outcomes

    hashtag
    JavaScript

    hashtag
    Node.js

    hashtag
    APIs

    hashtag
    Testing

    The Amazin' Quizzer API Backend

    hashtag
    Project Overview

    Your project is to build the backend for a dynamic web application that combines a quiz generator with data from multiple external APIs. This backend will serve as the foundation for a future full-stack application, showcasing your skills in server-side development, API integration, and data manipulation.

    hashtag
    Core Requirements

    1. TypeScript Implementation::

      • The entire backend project must be written in TypeScript.

      • Utilize TypeScript's static typing for all modules, functions, and API interfaces.

    hashtag
    Stretch Goals

    • Implement more complex quiz generation algorithms (e.g., adaptive difficulty).

    • Add a favourite count feature for questions and allow filtering by this criterion.

    • Develop more sophisticated results analysis.

    hashtag
    Project Phases

    hashtag
    Initial Spike Stage

    • Set up the basic structure of your Express server.

    • Implement a single endpoint that interacts with one external API.

    hashtag
    Core Project Development

    • Develop the full set of RESTful endpoints for quiz operations.

    • Integrate multiple external APIs.

    • Implement the quiz generation and results calculation logic.

    hashtag
    API Suggestions

    hashtag
    Easier APIs

    1. Open AI API - https://platform.openai.com/

    2. JokeAPI - https://jokeapi.dev/

    3. The Dog API - https://thedogapi.com/

    4. The Cat API - https://thecatapi.com/

    hashtag
    More Challenging APIs

    1. Twitter API - https://developer.twitter.com/en/docs/twitter-api

    2. Google Maps API - https://developers.google.com/maps

    3. Spotify API - https://developer.spotify.com/documentation/web-api/

    hashtag
    Submission Guidelines

    • Host your code in a Git repository with clear documentation.

    • Deploy your project on GitHub Pages. Feel free to deploy it elsewhere as well if you prefer and have the time.

    • Include a comprehensive README.md file detailing:

    hashtag
    Additional Considerations

    • Design your API with future frontend integration in mind. The frontend part of this project will be added next week.

    • Implement proper error handling and validation for incoming requests and external API responses.

    • Securely store any API keys or sensitive information required by your server.

    By completing this project, you will demonstrate your ability to create a robust backend application that combines original functionality with external data sources, showcasing your skills in API development, integration, and server-side logic implementation.

    hashtag
    Repository naming convention

    Please name your repo following this template: PRO03_BACK_Name1_Name2_Name3_Name4

    resources

    hashtag
    Cypress

    • hashtag

      A good start in understanding component testing

    • hashtag

      Your one stop shop for example with cypress React

    • hashtag

      More generic cheat sheet for Cypress

    hashtag
    Testing

    • hashtag

      Official Cypress docs. You'll find some great tutorials to get start there

    hashtag
    DevOps

    • hashtag

      A step by step guide to deploying an express server using the AWS console and SSH

    Week of September 30th

    This week focuses on building a front-end application using React and TypeScript to consume the RESTful API developed in the previous week. The emphasis is on creating an intuitive user interface for the quiz application while applying React best practices and TypeScript integration.

    hashtag
    Workshops

    • Cypress courses (x4)arrow-up-right. Repo name: Work17_Cypress

    hashtag
    Execute Program

    • Finalize incomplete courses

    hashtag
    Topics

    • React fundamentals (components, props, state)

    • TypeScript integration with React

    • React Hooks (useState, useEffect, custom hooks)

    hashtag
    Project

    • Build a front-end interface for the quiz application

    • Implement user stories for quiz functionality

    • Integrate with the backend API developed in the previous week

    Databases

    • SQL | W3Schoolsarrow-up-right W3Schools have lots of clear simple example for different types of SQL queries

    • Databases: how they work, and a brief historyarrow-up-right Amazing summary of the history of databases, what they are, how they work and the different types

    • Database Relationshipsarrow-up-right

    • Summary of one of the most common ways web apps get hacked

    • An example of how you might structure a project using Express & SQlite

    : As a back-end developer, I want to configure my bot securely by using
    require('dotenv/config')
    to load my API keys from a
    .env
    file, ensuring they are not hard-coded into my project, using a
    .gitignore
    file.
  • Bot Initialisation: As a back-end developer, I want to initialise my Discord bot and log in to Discord using the new Discord.Client() constructor and client.login method with my Discord token, to start listening for messages.

  • Message Handling: As a back-end developer, I want to handle incoming messages by setting up a message event listener using client.on('messageCreate', callback) to process messages received in Discord and respond to them with a “hello” message.

  • Optimisation: As a developer, I want the bot to optimise its performance by efficiently handling events, so that it does not consume excessive resources. This may involve writing efficient callback functions for client.on and client.once, ensuring they execute tasks quickly and without unnecessary resource consumption.

  • OpenAI Chat Integration and Response Generation: As a back-end developer, I want to integrate OpenAI into my bot and send chat prompts to the API to generate responses. This would involve using the openai.chat.completions.create() method with my OpenAI API key. I aim to pass conversation history and other necessary parameters to this method to receive context-aware chat completions. This will enable the bot to generate dynamic, intelligent responses based on ongoing conversations, enhancing user interaction and experience.

  • Response Management: As a back-end developer, I want to manage the OpenAI response returned by openai.chat.completions.create() using either fetch or async/await and sending the response back to the Discord channel.

  • Command Processing: As a back-end developer, I want to process commands directed at my bot by using string matching or a command prefix to distinguish between general messages and commands meant for the bot.

  • Error Handling: As a back-end developer, I want to implement error handling in my bot interactions using either .catch or try...catch within my fetch or **** async functions to manage exceptions and provide error messages if something goes wrong.

  • MessageActionRow
    and
    MessageButton
    or
    MessageSelectMenu
    classes from Discord.js. Handle interactions with
    client.on(Events.InteractionCreate, callback)
    .
  • Creating Private Chats (Channels):

    Hint: Use guild.channels.create() to create new private channels and manage access using permission overwrites in Discord.js.

  • Automated Moderation Features:

    Hint: Monitor messages for specific keywords or patterns using client.on(Events.MessageCreate, callback). Implement moderation actions like message.delete() for removing inappropriate content and guildMember.timeout() for muting users.

  • Multimedia Responses (Images, GIFs, Audio Clips):

    Hint: Send multimedia content using message.channel.send() with the files option. For audio, explore Discord.js voice modules for handling voice channels and streaming.

  • ensure that my bot initialises and logs into Discord successfully
  • simulate receiving a message and verify that my bot responds with a "hello" message, testing the message event listener's functionality

  • simulate commands directed at my bot to check if it accurately processes these commands from general messages

  • introduce faults or exceptions in bot interactions to verify that my bot's error handling mechanisms effectively manage and log errors

  • mock the process of sending responses back to the Discord channel, verifying that my bot formats and dispatches messages correctly

  • ensure my bot can send direct messages to users, testing the user.send() method's functionality

  • test my bot's ability to send multimedia responses under specified conditions, ensuring it can handle images, GIFs, and audio clips effectively

  • Configure the TypeScript compiler (tsconfig.json) for the project's specific needs.
  • Server-Side Setup:

    • Initialize a Node.js project using Express.

    • Implement a RESTful API for quiz-related operations and external API interactions.

  • JSON Endpoints:

    • Create endpoints that fetch data from at least two external APIs and return it in JSON format.

    • Implement endpoints for quiz-related operations (e.g., get questions, submit answers, retrieve results).

  • Quiz Functionality:

    • Develop server-side logic to:

      • Generate quizzes with randomly selected questions based on a chosen subject area.

      • Process quiz answers and calculate results, including areas of strength and weakness.

  • Data Management:

    • Use a JSON object in a separate file as a mock database to store quiz questions.

    • Implement CRUD operations for managing quiz questions in this mock database.

  • External API Integration:

    • Integrate at least two external APIs to enhance the quiz experience or provide additional information related to quiz topics.

    • Implement proper error handling for failed API requests or unavailable data.

  • Implement caching mechanisms for external API calls to improve performance.
  • Create comprehensive API documentation using tools like Swagger.

  • Unsplash it - https://unsplash.it/

  • REST Countries API - https://restcountries.com/

  • UK Police API - https://data.police.uk/docs/

  • Postcode Lookup - https://postcodes.io/

  • Giphy API - https://developers.giphy.com/docs/api/
  • GitHub API - https://docs.github.com/en/rest

  • The Movie DB API - https://developers.themoviedb.org/3/getting-started/introduction

  • The Guardian API - https://open-platform.theguardian.com/documentation/

  • News API - https://newsapi.org/docs/endpoints

  • TfL API - https://api.tfl.gov.uk/

  • Project setup instructions
  • API endpoints and their usage

  • External APIs used and their purpose in the project

  • Any stretch goals implemented

  • Ensure your server is deployable, even though a full deployment isn't required at this stage.

  • Document your API structure and endpoints thoroughly for future development.
    Click on a product to view more details in a new page
  • Search for products by name or description and view product listings with images, descriptions and reviews

  • Add products to a shopping cart

  • View previous orders and order history
  • Complete checkout and payments to simulate purchasing products

  • diagramarrow-up-right
    Firefox Page Inspectorarrow-up-right
  • Simulate Mobile Devices with Device Mode in Chrome DevToolsarrow-up-right

  • A Guide To New And Experimental CSS DevTools In Firefoxarrow-up-right

  • hashtag
    Node fs and Expressarrow-up-right

    Good node tutorial demonstrating using json object as a mock database

  • hashtag
    How to parse data with Expressarrow-up-right

    A brief guide to the different ways you can deal with data in your server

  • hashtag
    Testing your serverarrow-up-right

    Documentation on using Postman to make a collection of tests for api endpoints

  • Official TS handbookarrow-up-right
    How to get the most out of the JavaScript consolearrow-up-right
    Get Started with Debugging JavaScript in Chrome DevToolsarrow-up-right
    Viewing And Changing The DOM in Chrome DevToolsarrow-up-right
    Setting up Typescript and Expressarrow-up-right
    hashtag
    Testing with Postmanarrow-up-right

    A short video on how to make collections and writing test in Postman

    hashtag
    Create a security certificate for HTTPSarrow-up-right

    Steps to setup HTTPS connections in your Express server

  • hashtag
    National Cyber Security Centerarrow-up-right

    The 8 Principles of Secure Development & Deployment set out by the National Cyber Security Center

  • Guide to Component Testing in Cypressarrow-up-right
    Cypress Functions Cheat Sheetarrow-up-right
    Commonly Used Cypress Commandsarrow-up-right
    Testing with Cypressarrow-up-right
    Deploy to an EC2 instancearrow-up-right
    React Router for single-page application navigation
  • Asynchronous operations and data fetching in React

  • State management in React applications

  • Creating reusable UI components

  • Accessibility practices in React

  • Environment variable management

  • Software architecture and application flow

  • Best practices in React development

  • User interface design and prototyping (e.g., using Figma)

  • Local storage for data persistence

  • Custom hooks for repetitive logic

  • Focus on user experience and interface design
  • Apply React and TypeScript best practices

  • Ensure accessibility compliance

  • Implement proper error handling and data validation

  • SQLarrow-up-right
    A beginner’s guide to many-to-many relationshipsarrow-up-right
    SQL Injection | W3Schoolsarrow-up-right
    Express SQLite examplearrow-up-right

    Learning Outcomes

    hashtag
    Authetication

    hashtag
    React

    schedule

    week08-project04-test-deploy

    week07-project04-authentication

    resources

    • hashtag
      Setting Up and Authorising AWS CLIarrow-up-right An example of the process of setting up a CDK project

    week09-reading-week

    schedule

    Project

    READING WEEK

    schedule

    Week of October 14th

    This week focuses on building a dynamic e-commerce web application, integrating React for the frontend with a Node.js/Express backend and SQLite database. The emphasis is on creating a full-stack application with database integration and state management in React.

    hashtag
    Workshops

    hashtag
    Monday

    hashtag
    Friday

    hashtag
    Execute Program

    • Finalise previous courses

    hashtag
    Topics

    • Database schema design and normalization

    • SQLite database management and querying

    • SQL syntax, focusing on SELECT and INSERT queries

    hashtag
    Project

    • Develop an e-commerce web application with the following features:

    • Design and implement a SQLite database schema for products, orders, and users

    • Create a React frontend that communicates with an Express backend

    hashtag
    Additional Skills

    • Database relationship modeling (one-to-many, many-to-many)

    • Using foreign keys in relational databases

    • Optimizing database queries for performance

    resources

    These resources are helpful extra reading that may clarify or enhance concepts you’re learning in the main curriculum.

    • hashtag
      JSON Web Tokens Suckarrow-up-right Despite the title this talk actually covers most aspects of web authentication in a very accessible way

    • hashtag
      A short guide to useReducer and useContext

    • hashtag
      How to work with cookies while you are developing

    • hashtag
      Node based examples of the what and how of CSRF protection

    • hashtag
      The 8 Principles of Secure Development & Deployment set out by the National Cyber Security Center

    Week of October 21st

    This week focuses on enhancing the e-commerce web application developed in the previous week by adding authentication, user-specific interactions, and improving overall security. The emphasis is on implementing secure user authentication and authorization while expanding React state management techniques.

    hashtag
    Workshops

    Get Started with AWS CDKarrow-up-right

    hashtag
    Execute Program

    • Finish previous courses

    hashtag
    Topics

    • User authentication and authorization in web applications

    • Secure handling of user registration, login, and logout

    • Session management (stateless vs stateful approaches)

    hashtag
    Project

    Continue developing the e-commerce application with the following new features:

    • Implement user authentication (registration, login, logout)

    • Create user-specific shopping carts and order history

    • Implement session persistence

    hashtag
    Additional Skills

    • Implementing role-based access control (for admin functionalities)

    project

    Your task this week is to deploy and test the quiz app you have completed in the previous two weeks.

    hashtag
    Description

    Before you start you need to create a testing and deployment plan. We would like you plan a testing strategy that will have broad coverage of your project. The tools we would like you to use to achieve this can include Cypress, Postman and the Node built in testing library.

    We would like you to deploy both the backend and frontend of your project. Before choosing a deployment platform, consider whether your application is static or dynamic, as this will influence your choice. Here are some options to consider:

    • AWS EC2 Instance

    • AWS Lambda (for serverless applications)

    • Heroku (easy deployment for various application types)

    • GitHub Pages

    • AWS S3 Bucket (suitable for static websites)

    • Vercel

    • Netlify

    • Firebase Hosting (suitable for static and dynamic sites)

    • ...

    Research these options and choose the ones that best fit your project's needs, considering factors like scalability, ease of use, and cost. Remember, the goal is to understand the deployment process and the considerations involved in choosing a hosting solution.

    hashtag
    Questions to consider

    • What parts of the application logic are the most critical to cover with unit tests?

    • How will you mock external dependencies (like databases or APIs) during unit testing?

    • What are the key user journeys and flows within the application that must be covered by end-to-end tests?

    hashtag
    Acceptance Criteria

    hashtag
    Stretch criteria

    project

    hashtag
    Project

    Your project this week is continue work on the e-commerce shop you started last week and to add authentication and user specific interactions.

    hashtag
    Spike

    Before you start writing features you need to create a security plan. There should be a section in your README.md that describes how you will secure your app and mitigate different potential attacks.

    hashtag
    Questions to consider

    • Will you store session info in a token (stateless) or in your database (stateful)?

    • How will you check a user’s identity (authentication)?

    • How will you control what actions a user can take (authorization)?

    hashtag
    Useful resources

    hashtag
    User stories

    As a shopper, I want to:

    • Log into my account using my email and password

    • Have my user session persist, so I don't have to log in every time

    • Log out of my session

    These User Stories from last week should be updated to be linked to a shoppers account

    • Add products to a shopping cart

    • View and edit items in my shopping cart

    • Complete the checkout process to "purchase" products in my cart

    hashtag
    Stretch user stories

    As an admin, I want to:

    • Log into an admin section of the site

    • Add, edit and delete products

    • View and export reports on site analytics

    hashtag
    Acceptance Criteria

    hashtag
    Stretch

    Learning Outcomes

    hashtag
    Testing

    hashtag
    Deployment

    project

    hashtag
    Project

    Your task this week is to deploy and test the e-commerce app you have completed in the previous two weeks.

    hashtag
    Spike

    Before you start you need to create a testing and deployment plan. We would like you plan a testing strategy that will have broad coverage of your project. The tools we would like you to use to achieve this can include Cypress, Postman and the Node built in testing library.

    We would also like you to deploy this project using an EC2 instance for you server and a S3 bucket to serve your static files.

    hashtag
    Questions to consider

    • What parts of the application logic are the most critical to cover with unit tests?

    • How will you mock external dependencies (like databases or APIs) during unit testing?

    • What are the key user journeys and flows within the application that must be covered by end-to-end tests?

    hashtag
    Acceptance Criteria

    hashtag
    Stretch

    Learning Outcomes

    hashtag
    Testing

    Resources

    hashtag
    .NET

    Security threats and mitigation strategies (e.g., CSRF attacks)
  • React Router for multi-page navigation

  • Advanced React state management using Context API and useReducer

  • Linking user accounts with shopping carts and order history

  • Database security and user data protection

  • Secure the application against common web vulnerabilities
  • Enhance React state management using Context API and useReducer

  • Implement multi-page navigation using React Router

  • How will you manage test data and state for end-to-end testing?
  • How will encrypted communication (HTTPS) be set up, and will you use a reverse proxy?

  • How will you manage configuration variables for different environments (development, staging, production)?

  • How will CORS policies be configured between the frontend on GitHub Pages and the backend on EC2?

  • Where will the code that represents your infrastructure live and how will it be organised?
  • How will you manage configuration variables for different environments (development, staging, production)?

  • What are the different AWS products you will need to configure to make your deployment successful.

  • hashtag
    Deployment

    Implementing CRUD operations in a web application
  • React component design and state management

  • Building responsive and dynamic user interfaces with React

  • Integrating backend APIs with React frontend

  • Managing relational data in web applications

  • Security considerations in database design and querying (e.g., SQL injection prevention)

  • Implement CRUD operations for products and orders
  • Ensure proper state management for the shopping cart functionality

  • Implementing search functionality in both frontend and backend
  • Error handling and data validation in full-stack applications

  • SQL Challengearrow-up-right
    Authentication web appsarrow-up-right
    Reacts Powerful Duoarrow-up-right
    View, Edit, And Delete Cookies With Chrome DevToolsarrow-up-right
    CSRF Protection Guidearrow-up-right
    National Cyber Security Centerarrow-up-right
    How will you mitigate Cross-site Request Forgery (CSRF) attacks?
    See confirmation when an order is placed successfully
  • View previous orders and order history

  • Complete checkout and payments to simulate purchasing products

  • Manage user accounts
    Session-base vs token-based authenticationarrow-up-right

    week10-project05-DOTNET-intro

    Learning Outcomes

    hashtag
    .NET

    hashtag
    Working with senior devs

    schedule

    hashtag
    PHP

    W3Schools PHP Tutorialarrow-up-right

    .NET Tutorial - Hello World in 5 minutesarrow-up-right
    ASP.NET Core fundamentals overviewarrow-up-right
    Entity Framework Corearrow-up-right
    Use React with ASP.NET Corearrow-up-right
    Object-Oriented vs. Functional Programming With C# and F#arrow-up-right

    schedule

    overview

    hashtag
    Week of November 4th

    hashtag
    .NET

    hashtag
    Route 01. Csharp Certification

    This option focuses entirely on mastering C# before diving into broader .NET concepts. The goal is for you to gain a strong command of the language and become comfortable with its infrastructure. By Week 10, you'll be able to apply what you’ve learned to a hands-on project.

    To start, please register on both FreeCodeCamp and Microsoft Learn. You’ll access the learning modules via FreeCodeCamp links, which will track your progress and give you the opportunity to sit for a Microsoft Certification exam upon completion.

    The next course is not part of the certification, but it is a great short example of minimal API.

    hashtag
    Route 02. Blended C# and Infrastructure Approach

    In this route, you'll combine learning C# with workshops focused on infrastructure essentials. This approach balances language fundamentals with practical infrastructure skills to give you a well-rounded foundation.

    You can complete the first three C# lessons independently or through FreeCodeCamp. If you choose the FreeCodeCamp route, you’ll have the option to continue with the remaining lessons later and eventually take the Microsoft Certification exam.

    Option 2.1

    Option 2.2

    Common

    hashtag
    PHP. 5-Day PHP Learning Plan

    hashtag
    Setup Required

    1. Install XAMPP: https://www.apachefriends.org/download.html

    2. VSCode PHP Extension: PHP Intelephense

    hashtag
    Day 1: PHP Basics

    Main Resource:

    • Episodes 1-7

      • Variables and Basic PHP Syntax

      • PHP Configuration

    Reference:

    Practice Project: Build a Temperature Converter Tutorial: https://www.w3schools.com/php/php_form_complete.asp

    • Convert Celsius to Fahrenheit and vice versa

    • Form handling

    • Basic calculations

    • Simple styling

    hashtag
    Day 2: Database & PDO

    Main Resource: Laracasts Episodes 8-14

    • Database Connections

    • PDO Basics

    • SQL Injection Prevention

    • Basic Forms

    Reference:

    Practice Project: Build a Contact List Tutorial: https://www.tutorialrepublic.com/php-tutorial/php-mysql-crud-application.php

    • Store names and phone numbers

    • View all contacts

    • Simple database operations

    • Basic error handling

    hashtag
    Day 3: Authentication

    Main Resource: Laracasts Episodes 15-20

    • Sessions

    • Authentication

    • Registration

    • Form Validation

    Reference:

    Practice Project: User Authentication System Tutorial: https://www.tutorialrepublic.com/php-tutorial/php-mysql-login-system.php

    • Login form

    • User registration

    • Password hashing

    • Session management

    hashtag
    Day 4: Structure & Organization

    Main Resource: Laracasts Episodes 21-25

    • Refactoring

    • Router Implementation

    • Controllers

    • API Basics

    Reference:

    Practice Project: Simple Note Taking App Tutorial: https://www.sourcecodester.com/php/15434/simple-notes-app-using-php-and-mysql-source-code.html

    • CRUD operations

    • User-specific notes

    • Basic organization

    • Simple API endpoint

    hashtag
    Day 5: Final Project - Task Management System

    Build a complete task management system combining all concepts learned.

    Tutorial Guide: https://codeshack.io/crud-application-php-pdo-mysql/

    Project Requirements:

    1. User System

      • Login/Register

      • Password hashing

    hashtag
    Daily Schedule

    • 2 hours: Watch Laracasts

    • 1 hour: Code along with episodes

    • 2 hours: Work on daily project

    hashtag
    Getting Unstuck

    1. Check Laracasts comments

    2. PHP Manual: https://www.php.net/manual/en/

    3. Stack Overflow

    4. PHP Discord: https://discord.gg/php

    hashtag
    Next Steps

    1. Laravel Framework: https://laravel.com/docs/

    2. More complex projects

    3. PHP Security practices

    overview

    hashtag
    Week of November 11th

    hashtag
    .NET Path

    This week focuses on building a library management system using .NET for the backend and React for the frontend. The emphasis is on creating a robust backend API with ASP.NET Core and implementing user authentication and data persistence with PostgreSQL or SQLite.

    Core Topics

    • ASP.NET Core Web API development

    • Database design and implementation with PostgreSQL/SQLite

    • Object-Oriented Programming in C#

    Project Development Focus

    • Setting up ASP.NET Core backend

    • Implementing database schema for library items

    • Creating RESTful API endpoints

    Learning Objectives

    • Building secure and scalable backend services with .NET

    • Implementing proper data models and relationships

    • Managing user authentication and authorization

    hashtag
    PHP Path

    This week introduces WordPress development using PHP, focusing on theme and plugin development, and understanding the WordPress ecosystem.

    Core Topics

    • Local WordPress development environment setup

    • WordPress theme development fundamentals

    • PHP basics for WordPress

    Project Development Focus

    • Setting up local development environment

    • Creating custom WordPress themes

    • Understanding WordPress file structure

    Learning Objectives

    • Understanding WordPress architecture

    • Creating custom themes from scratch

    • Working with WordPress template system

    Week of October 28th

    This week focuses on testing, deployment, and optimization of the e-commerce web application developed over the past two weeks. The emphasis is on implementing comprehensive testing strategies, deploying the full-stack application to AWS, and setting up continuous integration and deployment pipelines.

    hashtag
    Workshops

    • .NETarrow-up-right

    hashtag
    Execute Program

    • Finish previous courses

    hashtag
    Topics

    • Writing and organizing unit tests, integration tests, and end-to-end tests

    • Mocking external dependencies in tests

    • Understanding and configuring different deployment environments (development, staging, production)

    hashtag
    Project

    • Develop a comprehensive testing strategy for the e-commerce application

    • Implement tests using Cypress, Postman, and Node's testing library

    • Create a deployment plan for AWS infrastructure

    hashtag
    Stretch Goals

    • Set up a GitHub Actions CI/CD pipeline for automatic deployment on push to main

    • Implement staging environments in addition to development and production

    • Optimize application performance for production environment

    hashtag
    Additional Skills

    • Code organization and modularization for testability

    • Advanced TypeScript usage in testing and deployment scripts

    • Understanding of cloud architecture and best practices

    This week brings together all aspects of the software development lifecycle, from testing to deployment, providing a holistic view of bringing a web application to production. It emphasizes the importance of thorough testing, secure and scalable deployment practices, and the use of modern DevOps tools and techniques.

    API endpoint creation and testing with Swagger
  • User authentication and authorization

  • Data relationships and schema design

  • Implementing user authentication
  • Developing collection management features

  • Testing endpoints with Swagger

  • Creating and testing API endpoints
  • Handling file uploads and storage

  • Template hierarchy and customization
  • Plugin development introduction

  • Database interactions in WordPress

  • Implementing template hierarchy
  • Working with WordPress hooks and filters

  • Database operations with WordPress

  • Implementing custom functionality through plugins
  • Managing WordPress database operations

  • Infrastructure as Code concepts and implementation with AWS CDK
  • AWS resource provisioning and configuration (EC2, S3, security groups)

  • Environment variable management across different deployment stages

  • Continuous Integration and Continuous Deployment (CI/CD) pipelines

  • Optimizing applications for production deployment

  • AWS permissions and security best practices

  • Deploy the backend to an AWS EC2 instance
  • Host static frontend files on an AWS S3 bucket

  • Set up and configure necessary AWS resources (e.g., security groups, IAM roles)

  • Implement Infrastructure as Code using AWS CDK

  • Configure environment variables for different deployment stages

  • Document the setup, deployment process, and usage instructions

  • Debugging deployment issues in cloud environments
  • Writing clear and comprehensive technical documentation

  • Arrays and Functions
  • Page Links

  • Session handling
  • Task Features

    • Add/Edit/Delete tasks

    • Mark as complete

    • Due dates

    • Priority levels

  • Database

    • Users table

    • Tasks table

    • Basic relationships

  • CSharp certification - 6 modulesarrow-up-right
    Create web apps and services with ASP.NET Core, minimal API, and .NET - 1hr 35minarrow-up-right
    Write your first code using C# (Get started with C#, Part 1)arrow-up-right
    Create and run simple C# console applications (Get started with C#, Part 2)arrow-up-right
    Add logic to C# console applications (Get started with C#, Part 3)arrow-up-right
    CSharp certification - 3 first modules on FreeCodeCamparrow-up-right
    Build .NET applications with C# - 3hr 14minarrow-up-right
    Create a web API with ASP.NET Core controllers - 41minarrow-up-right
    Develop an ASP.NET Core web app that consumes an API - 2hr 18minarrow-up-right
    Create web apps and services with ASP.NET Core, minimal API, and .NET - 1hr 35minarrow-up-right
    Laracasts - PHP for Beginners 2023arrow-up-right
    W3Schools PHParrow-up-right
    PHP PDO Documentationarrow-up-right
    PHP Session Documentationarrow-up-right
    PHP Best Practicesarrow-up-right

    course

    week11-project05-DOTNET-testing

    project

    hashtag
    .NET

    hashtag
    Intro

    Learners with build a library in which to sort and share information (i.e. music, photos, recipes etc...). Potential users should be able to view, favourite and upload items as well as make collections and view ones created by other users.

    The frontend of this project will be built using React. For the backend, it will use ASP.NET to handle server-side functionality. User accounts and item lists will be stored in a PostgreSQL or SQLite database.

    hashtag
    Project

    Your project for the next 3 weeks will be to develop a .NET backend connected to a database and linked to a React frontend. This week you should start by building the backend and testing it with Swagger (.NET equivalent to Postman). Tests should cover the creation users and endpoints related to user content.

    hashtag
    Spike

    Like the last project you will benefit by building a scheme for your database before you start. Hopefully with what you learned from last projects you are ready to think about how things will connect and consider what sorts of endpoints you will want. Finally, think about what you have done for stretch goals on previous projects and see if you can come up with a different sort of goal this time. For example if you've been stretching yourself by adding technical complexity try focusing on design or UX/UI instead.

    hashtag
    Questions to consider

    1. What endpoints will you need for your app?

    2. What sort of classes will you need to match your data and how will these be represented in OOP (object orientated programming)?

    hashtag
    Useful resources

    hashtag
    User stories

    As a user, I want to:

    • Login to an individual account

    • See my collections of items and favourites

    • Search and look at other users collections

    hashtag
    Stretch user stories

    • Follow other users

    • Make sure users can only edit their own collections and items

    • Stop duplicate items being uploaded

    hashtag
    Repository naming convention

    Please name your repo following this template: PRO05_Name1_Name2_Name3_Name4

    hashtag
    Acceptance criteria

    hashtag
    Stretch


    hashtag
    PHP

    Project Overview: Building a Custom WordPress Site with Theme and Plugin Development

    Over the next three weeks, you will develop a fully functional WordPress website from scratch. Starting with setting up your local development environment, you'll create a custom theme tailored to your design preferences, incorporating dynamic content using The Loop and interactive elements with TypeScript. You'll then plan and build a custom plugin to add significant functionality to your site, such as an event manager or testimonials feature, utilizing custom post types, taxonomies, and AJAX for dynamic updates.

    In the final week, you'll focus on deploying your site to a live hosting environment, implementing security best practices, and optimizing performance. By integrating your custom plugin with your theme, you'll create a seamless user experience. This project will enhance your proficiency in WordPress development and PHP programming, providing you with valuable skills and a portfolio-worthy website.

    hashtag
    Foundations of WordPress and PHP

    Monday: Setting Up the Development Environment

    • Objectives:

      • Set up a local server environment for WordPress development.

      • Install and configure WordPress locally.


    Tuesday: Introduction to WordPress Theme Development

    • Objectives:

      • Understand how WordPress themes work.

      • Begin developing a custom theme from scratch.


    Wednesday: Advanced Theme Customization

    • Objectives:

      • Add features to the custom theme.

      • Integrate TypeScript for front-end interactivity.


    Thursday: Presentation Preparation and Delivery

    • Objectives:

      • Prepare and deliver a 20-minute presentation showcasing the custom theme.

      • Continue normal development activities.


    Friday: Working with WordPress Database

    • Objectives:

      • Learn to interact with the WordPress database using PHP.

      • Understand data sanitization and security best practices.

    Code of Conduct

    All members are required to agree with the following code of conduct. All members of the community are expected to enforce this code at every community event, class, gathering or exchange (such as Founders and Coders classesarrow-up-right or our evening meetups, workshops and short courses), on our online forums (Slack and GitHub), and everywhere we interact under the Founders and Codersarrow-up-right banner.

    We expect cooperation from all participants in the community to help ensure a safe environment for everybody.

    hashtag
    Need Help?

    Please reach out to us! Our contact details are on or you can find your Course Facilitator (if you're a student of ours) or our admins on Slack. Don't stay silent!

    If you wish to make a complaint in London, please first review the and submit a complaint with the .

    Adapted from , based on the .

    hashtag
    The Quick Version

    Our community is dedicated to providing a harassment-free experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof), or technology choices. We do not tolerate harassment of community members in any form. Sexual language, imagery or innuendo is not appropriate for any community event, including talks, workshops, parties, Slack, Twitter and other online media or channels. Participants violating these rules may be sanctioned or expelled from the event and any future events, as well as the from the community itself, at the discretion of .

    hashtag
    The Long Version

    Harassment includes offensive verbal or written comments related to gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion, technology choices, sexual images in public spaces, deliberate intimidation, stalking, following, harassing photography or recording, sustained disruption of talks or other events, inappropriate physical contact, and unwelcome sexual attention.

    Participants asked to stop any harassing behaviour are expected to comply immediately.

    All those who interact with the community are also subject to the anti-harassment policy. It is the responsibility of all to ensure that a sexualised environment is not created.

    If a participant engages in harassing behaviour, the organisers may take any action they deem appropriate, including warning the offender or expulsion from the event or community without further warning.

    If you are being harassed, notice that someone else is being harassed, or have any other concerns, please .

    Particularly in the case of physical events, organisers will be happy to help participants contact venue security or local law enforcement, provide escorts, or otherwise assist those experiencing harassment to feel safe for the duration of the event. We value your attendance and contributions to the community.

    We expect participants to follow these rules in all community interactions, whether professional, social or a mix of both.

    If someone has violated these rules, please review the and make a complaint using our .

    Resources

    These resources are helpful extra reading that may clarify or enhance concepts you're learning in the main curriculum.

    hashtag
    .NET

    • hashtag
      A decent dive into language basics

    • hashtag
      for people who like videos, this is geared towards devs with your backgrounds

    • hashtag
      Link roundup version of the above resource, with more detail

    • hashtag
      Official documentation for ASP .NET

    Getting started

    For each application project, there are specific requirements to meet. There are also a number of good practices to uphold while building each website. We've put together this guide, to review before starting each project and to follow when working through your projects.

    hashtag
    Publishing your website

    All your code should be hosted on GitHubarrow-up-right and your website should be live, deployed with GitHub Pagesarrow-up-right.

    Deploy your site early on, you don't need to have completed it before you can publish it. To deploy a site, all you need is an index.html file, with a little content inside of it. For each of your projects, create this, push it to GitHub and then deploy the website.

    Include the link to your live site on the GitHub repo, in the description on the right hand side. When you're linking between different sites, it's much better to link to a live site than its codebase on GitHub. For example, in your you might include links to all of the projects you've made as part of your application.

    hashtag
    Commiting your code

    Once you have a repository set up and you've deployed the site, you can make further changes to your codebase and websites. You do this by changing files, staging them, and then commiting those changes. You can learn more about these steps in our .

    Commit regularly while you build your site, and write meaningful commit messages. In VS Code and in your terminal you can customise your commit messages. Your commit message should summarise the work you've just completed, then your commit history will tell a story of how you built your website.

    hashtag
    Writing code

    Building the projects is going to be challenging, and a lot of this material might be new to you. It's okay to struggle, it's just part of being a developer.

    Using tutorials and resources to help you is absolutely the right thing to do when learning to code. However, relying heavily on the code written in a tutorial, or copying and pasting code from external sources, will limit your learning. When following a tutorial, try first to code along with the video, and then build the sit again from memory with less reference to the tutorial you've looked at.

    When you're building a website, it's important that you understand what the code you write is doing. Interact with it, and change things to see what effect that has. Break down problems into smaller steps and tackle each step one at a time.

    We're looking for interesting and engaging websites that fit our project requirements. Put your own spin on the project, be creative, and don't be afraid to go beyond the requirements.

    .NET and Umbraco

    .NET is a software development platform created by Microsoft that allows developers to create: desktop applications, web applications, mobile applications, and games. It provides a framework for building, deploying, and running applications on different platforms, including Windows, Linux, and macOS.

    C# is the most widely used programming language for .NET development. C# is an object-oriented language that's designed for building robust and efficient applications. It's similar to other popular programming languages like Java and C++.

    hashtag
    C#

    C# is a high-level programming language designed to be simple, modern, and object-oriented, primarily used for building applications that run on the .NET platform.

    hashtag
    .NET

    .NET is a free, open-source, cross-platform framework that provides developers with a set of tools and libraries for building a wide range of applications, from Windows desktop applications to web applications, that can run on multiple operating systems and devices.

    hashtag
    Umbraco

    Umbraco is an open-source content management system (CMS) based on the .NET framework, designed to create and manage digital content for websites, mobile apps, and other digital media.

    hashtag
    Project

    Your project for the next three weeks is to get stuck in learning C#, .NET and Umbraco.

    1. Learn C# and .NET through online tutorials

    2. Install Umbraco

    3. Learn Umbraco through exploring its features on the platform

    For the website you build, you can choose anything to focus on that you feel will make good use of the features available in .NET and Umbraco. If you're stuck for ideas, build a microblogging site based on .

    our websitearrow-up-right
    complaints policyarrow-up-right
    complaints formarrow-up-right
    Community Code of Conductarrow-up-right
    Ada Initiative anti-harassment conference policyarrow-up-right
    the organisers, Founders and Codersarrow-up-right
    contact an organiser immediately
    Complaints Policyarrow-up-right
    complaints formarrow-up-right
    C# | W3Schoolsarrow-up-right
    Intro to C# for Typescript developersarrow-up-right
    A roundup of links that will be useful for people coming to .NET with typescript backgroundsarrow-up-right
    Microsoft Documentationarrow-up-right
    Project Galleryarrow-up-right
    introduction to Gitarrow-up-right
    Umbraco Discord serverarrow-up-right
  • Umbraco forumsarrow-up-right

  • Umbraco deployarrow-up-right

  • Build a website using Umbraco CMS
    C# in 100 secondsarrow-up-right
    C# Tutorial for Beginnersarrow-up-right
    C# Stationarrow-up-right
    Learn .NETarrow-up-right
    Umbraco.comarrow-up-right
    Umbraco Documentationarrow-up-right
    Install Umbracoarrow-up-right
    server project requirementsarrow-up-right

    handbook

    View individual items details
  • Save items or collections from other users

  • Upload and add items

  • Suggest collections based on favourites
    Understand the WordPress file and folder structure.
  • Activities:

    1. Install a Local Server Environment:

      • Choose and Install Software:

        • Windows Users: Download and install .

        • Mac Users: Download and install .

      • Configure the Server:

        • Start Apache and MySQL services from the control panel.

    2. Download and Install WordPress Locally:

      • Download WordPress:

        • Get the latest version from the .

    3. Explore WordPress File Structure:

      • Directories to Explore:

        • wp-content: Holds themes, plugins, and uploads.

    4. Review PHP Basics (If Needed):

      • PHP Syntax and Structure:

        • Variables, arrays, loops, functions.

  • Resources:

    • Installing WordPress Locally (WPBeginner)arrow-up-right

    • WordPress File Structure Overview (Official Docs)arrow-up-right

  • Activities:
    1. Study the WordPress Template Hierarchy:

      • Understand the Hierarchy:

        • Learn how WordPress determines which template file to use.

        • Review the .

    2. Create a New Theme Directory:

      • Set Up Theme Folder:

        • Navigate to wp-content/themes/.

    3. Develop Basic Theme Files:

      • style.css:

        • Add theme information at the top:

    4. Activate the Theme:

      • Through WordPress Admin:

        • Go to Appearance > Themes.

    5. Use Template Tags and The Loop:

      • Display Posts:

        • Implement The Loop in index.php:

  • Resources:

    • Creating a Basic Theme (ThemeShaper Tutorial)arrow-up-right

    • Understanding The Loop (Official Docs)arrow-up-right

  • Activities:
    1. Create Custom Page Templates:

      • Make a Custom Template:

        • Create page-custom.php in your theme folder.

        • At the top, add:

        • Modify the template as needed, for example:

    2. Implement Custom Menus:

      • Register Menus in functions.php:

      • Display Menus in Templates:

    3. Add Widget Areas (Sidebars):

      • Register Sidebar in functions.php:

      • Display Sidebar in Templates:

    4. Set Up TypeScript Build Process:

      • Initialize NPM in Theme Folder:

        • Open a terminal in your theme directory and run npm init -y.

    5. Add Interactive Elements Using TypeScript:

      • Create src/index.ts:

        • Example code:

  • Resources:

    • Custom Page Templates (Official Docs)arrow-up-right

    • WordPress Menus and Widgets (WPBeginner)arrow-up-right

  • Activities:
    1. Morning Development:

      • Enhance Theme Features:

        • Refine your theme based on previous work.

        • Add any additional features or styling improvements.

      • Debug and Test:

        • Ensure all features are working as expected.

        • Test across different browsers and devices.

    2. Presentation Preparation (1 hour):

      • Summarize Work Done:

        • Create an outline highlighting key features and customizations.

    3. Deliver the Presentation (20 minutes):

      • Presentation Content:

        • Introduce your custom theme and its purpose.

    4. Afternoon Development:

      • Implement Feedback:

        • Incorporate any useful suggestions received during the presentation.

  • Resources:

    • Effective Presentation Tipsarrow-up-right

    • Demo Guidelinesarrow-up-right

  • Activities:
    1. Using $wpdb for Database Queries:

      • Global $wpdb Object:

        • Access the database using $wpdb.

      • Retrieve Data:

      • Display Data in the Theme:

        • Create a custom template or modify an existing one to display the data.

    2. Create a Custom Table:

      • Register Activation Hook:

    3. Create a Form to Save Data:

      • Display Form Using Shortcode:

      • Handle Form Submission:

    4. Understand Data Sanitization and Security:

      • Sanitize Inputs:

        • Use sanitize_text_field(), sanitize_email(), etc.

  • Resources:

    • Using $wpdb (Official Docs)arrow-up-right

    • Database Security Best Practices (Official Docs)arrow-up-right

  • Simple demo of react and .NET projectarrow-up-right
    Demo of a more complicated backend with a databasearrow-up-right

    Mini projects

    Web browsers are very powerful nowadays. They support lots of cool features that let your code do interesting things. For example webcam filters, text-to-speech and geolocation.

    You're going to spend the day experimenting with some of these features to build a fun mini project (in pairs). The idea is to get some experience figuring things out reading MDN docs, and have fun building something silly.

    We'll come back together at 16:00 to present what we've made to the group. You'll have 10 minutes to show off your project and talk about anything interesting you learnt.

    Wes Bos' JavaScript 30arrow-up-right video series is a great introduction to some of these topics. They're pretty fast-paced and concise, and give you enough info to go and start experimenting to build your own thing. If you want access to the starter code you have to sign up on the site (it's free), but if you just want to watch the videos they're all on YouTube herearrow-up-right.

    We'd recommend these as a starting point:

    Docker

    Learn how to use Docker to build applications in containers, then deploy them to AWS.

    hashtag
    Installation

    1. Install Dockerarrow-up-right

    2. Install

    hashtag
    Intro talk

    , and how Docker and AWS fit in.

    hashtag
    Learn Docker

    Work through Docker's .

    This covers Docker basics, integrating a database, configuring tests, running in GitHub Actions.

    hashtag
    Deploy to AWS

    Follow the to deploy your example app.

    hashtag
    Project

    Create an app with 3 separate containers: a client (e.g. React), a backend API (e.g. Express), and a database (e.g. Postgres).

    If you're feeling confident about Docker then feel free to pick interesting technologies. If you want to focus on the core learning then stick to stuff you already know (like React).

    The client should send requests to the API (e.g. with fetch) and the API should send requests to the database.

    Try to come up with something fun—there are no constraints on the app other than using the above 3 services.

    Deploy this application to AWS ECS.

    hashtag
    Help each other

    You don't have mentors to ask for help, so try to help each other. Use your Discord channels to stay in touch and solve problems.

    Founders and Coders coursebook

    hashtag
    Handbook

    Guidance for learners participating in our programmes.

    hashtag
    Portfolio

    Self-paced individual study through working on a portfolio of Web projects.

    hashtag
    Software Foundation

    Software development

    Front- and back-end development with Git, JavaScript, and HTML/CSS

    DevOps engineering

    Using Amazon Web Services

    AI Engineering

    Using the Open AI API

    hashtag
    Software Developer

    Node.js, Express.js, SQL, authentication, React and Next.js.

    For more information on our programmes, go to .

    See also for our licence.

    Svelte

    Learn how to use Svelte to build dynamic client-side applications.

    hashtag
    Intro talk

    https://fac-slides.netlify.app/slides/svelte/arrow-up-right

    hashtag
    Learn

    covers all the basics. I'd recommend completing parts 1-7 before starting on the project. If you're interested in putting some fun animations into your app then you could also look at parts 9 and 10.

    hashtag
    Project

    Today's project is similar to React Week's—build an interactive-game-like-thing with lots of dynamic client-side state. You don't have to fetch data from an external API if you don't need to—the focus is on using Svelte.

    hashtag
    Help each other

    You don't have mentors to ask for help, so try to help each other. Use your Discord channels to stay in touch and solve problems.

    KSB's

    hashtag
    Knowledge

    • K1: all stages of the software development lifecycle (what each stage contains, including the inputs and outputs)

    • K2: roles and responsibilities within the software development lifecycle (who is responsible for what)

    • K3: the roles and responsibilities of the project lifecycle within your organisation, and your role

    • K4: how best to communicate using different communication methods and how to adapt appropriately to different audiences

    • K5: the similarities and differences between different software development methodologies, such as agile and waterfall

    • K6: how teams work effectively to produce software and how to contribute appropriately

    • K7: software design approaches and patterns, to identify reusable off-the-shelf solutions to commonly occurring problems

    • K8: organisational policies and procedures relating to the tasks being undertaken, and when to follow them (e.g., the storage and treatment of GDPR sensitive data)

    • K9: principles of algorithms, logic and data structures relevant to software development (e.g., Arrays, Stacks, Queues, Linked Lists, Trees, Graphs, Hash Tables, Sorting Algorithms, Searching Algorithms, Critical sections and race conditions)

    • K10: principles and uses of relational and non-relational databases

    • K11: software designs and functional/technical specifications

    • K12: software testing frameworks and methodologies

    hashtag
    Skills

    • S1: create logical and maintainable code

    • S2: develop effective user interfaces

    • S3: link code to data sets

    hashtag
    Behaviours

    • B1: Works independently and takes responsibility (e.g., has a disciplined and responsible approach to risk, and stays motivated and committed when facing challenges)

    • B2: Applies logical thinking (e.g., uses clear and valid reasoning when making decisions related to undertaking work instructions)

    • B3: Maintains a productive, professional, and secure working environment

    TypeScript

    Learn how TypeScript can help you make less buggy apps.

    hashtag
    Intro talk

    S4: test code and analyse results to correct errors found using unit testing
  • S5: conduct a range of test types, such as Integration, System, User Acceptance, Non-Functional, Performance and Security testing

  • S6: identify and create test scenarios

  • S7: apply structured techniques to problem solving, can debug code and can understand the structure of programmes to identify and resolve issues

  • S8: create simple software designs to effectively communicate understanding of the program

  • S9: create analysis artefacts, such as use cases and/or user stories

  • S10: build, manage and deploy code into the relevant environment

  • S11: apply an appropriate software development approach according to the relevant paradigm (e.g., object-oriented, event-driven or procedural)

  • S12: follow software designs and functional/technical specifications

  • S13: follow testing frameworks and methodologies

  • S14: follow company, team or client approaches to continuous integration, version and source control

  • S15: communicate software solutions and ideas to technical and non-technical stakeholders

  • S16: apply algorithms, logic and data structures

  • S17: interpret and implement a given design whist remaining compliant with security and maintainability requirements

  • B4: Works collaboratively with a wide range of people in different roles, internally and externally to the team, with a positive attitude to inclusion & diversity

  • B5: Acts with integrity with respect to ethical, legal and regulatory ensuring the protection of personal data, safety and security

  • B6: Shows initiative and takes responsibility for solving problems within their own remit, being resourceful when faced with a problem to solve

  • B7: Communicates effectively in a variety of situations to both a technical and non-technical audience

  • B8: Shows curiosity to the business context in which the solution will be used, displaying an inquisitive approach to solving the problem (includes the curiosity to explore new opportunities and techniques; the tenacity to improve methods and maximise performance of the solution; and creativity in their approach to solutions)

  • B9: Committed to continued professional development

  • Webcam filtersarrow-up-right

    Caveat: the API he uses here has changed slightly—read the comments for the correction

    Drum Kitarrow-up-right
    Text-To-Speecharrow-up-right
    Canvas paintingarrow-up-right
    AWS CLIarrow-up-right
    A talk on the history of deploying web appsarrow-up-right
    introductory Node.js tutorialarrow-up-right
    AWS ECS deployment guidearrow-up-right
    our websitearrow-up-right
    about the curriculumarrow-up-right
    Svelte's interactive tutorialarrow-up-right
    hashtag
    Learn

    Start by reading the short TS for JS programmersarrow-up-right intro.

    Then complete as much of Execute Program's TS course as it will allow.

    Finally move on to the TS Handbookarrow-up-right. This is quite long so just skim "The Basics" and "Everyday Types" at first. It's generally better to look up specific things when you need them rather than trying to front-load all the knowledge.

    hashtag
    Project

    You have two choices (depending on how much time you have):

    1. Create a React app from scratch using TS

    2. Refactor one of your previous React apps using TS

    Either way please document anywhere you have to amend your code because TS caught a type error. It will be interesting to hear about how you had to program differently based on TS' feedback.

    You may find this React + TS cheatsheetarrow-up-right helpful.

    hashtag
    Project tooling

    Both Create React Apparrow-up-right and Vitearrow-up-right have built in support for TypeScript. Make sure you click through to their respective docs as there are some nuances/differences.

    Note: neither require you to run the TS compiler yourself—you'll be using their normal start/dev/build commands.

    hashtag
    Help each other

    You don't have mentors to ask for help, so try to help each other. Use your Discord channels to stay in touch and solve problems.

    https://fac-slides.netlify.app/slides/typescript/arrow-up-right

    Software Developer Handbook

    The primary audience for this handbook is apprentices who are preparing to begin the Software Developer apprenticeship. The handbook provides guidance on the learning journey beginning with the apprentice interview process and ending with end-point assessment. It provides all the key information for you to complete the apprenticeship successfully.

    View the Software Developer Handbookarrow-up-right

    precourse

    Homework

    This is a guide to what you should be doing for homework each week. Please reach out to your CFs if you are unsure of what to prioritise between sessions.

    • Complete LinkedIn profile

    • Complete the Express and Dev Tooling workshops

    Set Up the Database:
    • Access phpMyAdmin via http://localhost/phpmyadmin/.

    • Create a new database (e.g., wordpress_db).

  • Configure WordPress:

    • Extract WordPress files into the htdocs (XAMPP) or MAMP directory.

    • Rename wp-config-sample.php to wp-config.php.

    • Edit wp-config.php with the database details:

  • Run the Installation Script:

    • Navigate to http://localhost/wordpress/ and follow the installation prompts.

  • wp-includes: Core WordPress files.

  • wp-admin: Backend administration files.

  • Understanding Core Files:

    • Review index.php, wp-config.php, and .htaccess.

  • Resources:
    • PHP Manualarrow-up-right

    • W3Schools PHP Tutorialarrow-up-right

    Create a new folder for your theme (e.g., my-custom-theme).

    index.php:

    • Basic template file that WordPress uses by default.

    • Add a simple HTML structure:

  • header.php and footer.php:

    • Separate the header and footer sections.

    • header.php:

    • footer.php:

    • Include them in index.php using get_header() and get_footer() functions:

  • Find and activate "My Custom Theme".

    Install Dependencies:

    • Install Webpack and TypeScript:

  • Configure TypeScript:

    • Create tsconfig.json:

  • Set Up Webpack Config:

    • Create webpack.config.js:

  • Add Scripts to package.json:

  • Build and Include Script:

    • Run npm run build.

    • Enqueue the script in functions.php:

  • Add an Element to Test Interaction:

    • In your template file (e.g., index.php), add:

  • Prepare Presentation Materials:
    • Create slides if necessary.

    • Set up a live demo environment.

  • Rehearse:

    • Practice delivering the presentation within the time limit.

  • Demonstrate key features and customizations.
  • Discuss challenges faced and solutions implemented.

  • Engage with the Audience:

    • Encourage questions and feedback.

  • Continue Development:
    • Proceed with the next planned activities.

    Display Submitted Data:
    • Create a shortcode or admin page to display the data from the custom table.

    Prevent SQL Injection:

    • Always prepare queries or use helper methods.

  • Use Nonces:

    • Protect against CSRF attacks by using nonces.

  • Escape Outputs:

    • Use esc_html(), esc_attr(), etc., when outputting data.

  • XAMPParrow-up-right
    MAMParrow-up-right
    official websitearrow-up-right
    Template Hierarchy diagramarrow-up-right
    WordPress Template Hierarchy (Official Docs)arrow-up-right
    Webpack and TypeScript Setup Guide (DigitalOcean)arrow-up-right
    Using TypeScript with WordPressarrow-up-right
    Nonces for Security (Official Docs)arrow-up-right

    Revision checklist

    These questions are designed to give you an idea of what concepts you might need to revisit from the first few weeks of the course.

    This isn't a test and you can't fail, so don't worry about getting some answers wrong. It's purely for your own benefit, so try to answer each question honestly without looking them up first!

    hashtag
    Git

    hashtag
    HTML

    hashtag
    CSS

    hashtag
    Javascript

    hashtag
    Array methods

    hashtag
    Promises & fetch

    hashtag
    HTTP

    hashtag
    DOM

    hashtag
    Testing

    hashtag
    Debugging

    Software Foundation Handbook

    The primary audience for this handbook is anyone enrolled on the Software Foundation. Here you can find all the key information you need to complete the programme successfully.

    View the

    schedule

    hashtag
    Day 1

    Time
    Activity
    Learning outcomes

    Before you start the course

    The purpose of our is to make sure that everyone is familiar with the key concepts we will be using throughout your time here. A solid grounding in the fundamentals will help you immensely.

    Please make sure you have finished the precourse material and installed the software on our before day 1 of your course.

    We will be having an installation party shortly before you arrive. If you are using a Windows OS then attending this installation party is crucial. But if you are unable to attend, you can also do this by yourself. If you run into any difficulties, please get in touch.

    hashtag

    Week of October 7th

    This week concentrates on testing and deploying the full-stack quiz application developed over the past two weeks. The focus is on implementing comprehensive testing strategies and successfully deploying both the frontend and backend components of the application.

    hashtag
    Workshops

    <!DOCTYPE html>
    <html>
    <head>
      <title><?php bloginfo('name'); ?></title>
      <?php wp_head(); ?>
    </head>
    <body>
      <h1>Welcome to <?php bloginfo('name'); ?></h1>
      <?php wp_footer(); ?>
    </body>
    </html>
    npm install --save-dev webpack webpack-cli typescript ts-loader
    {
      "compilerOptions": {
        "target": "es5",
        "module": "commonjs",
        "outDir": "./dist",
        "strict": true
      },
      "include": ["src/**/*"]
    }
    const path = require("path");
    
    module.exports = {
      entry: "./src/index.ts",
      module: {
        rules: [
          {
            test: /\.tsx?$/,
            use: "ts-loader",
            exclude: /node_modules/,
          },
        ],
      },
      resolve: {
        extensions: [".tsx", ".ts", ".js"],
      },
      output: {
        filename: "bundle.js",
        path: path.resolve(__dirname, "dist"),
      },
    };
    "scripts": {
      "build": "webpack",
      "watch": "webpack --watch"
    }
    function enqueue_my_scripts() {
      wp_enqueue_script( 'my-typescript', get_template_directory_uri() . '/dist/bundle.js', array(), '1.0', true );
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_my_scripts' );
    <button id="interactive-element">Click Me</button>
    /*
    Theme Name: My Custom Theme
    Theme URI: http://example.com/
    Author: Your Name
    Description: A custom theme for learning.
    Version: 1.0
    */
    <?php get_header(); ?>
    <?php
    if ( have_posts() ) :
      while ( have_posts() ) : the_post();
        the_title('<h2>', '</h2>');
        the_content();
      endwhile;
    else :
      echo '<p>No posts found.</p>';
    endif;
    ?>
    <?php get_footer(); ?>
    <?php
    /*
    Template Name: Custom Page
    */
    ?>
    <?php get_header(); ?>
    <div class="custom-page-content">
      <h2>Custom Page Template</h2>
      <?php
      if ( have_posts() ) :
        while ( have_posts() ) : the_post();
          the_content();
        endwhile;
      endif;
      ?>
    </div>
    <?php get_footer(); ?>
    <?php
    function register_my_menus() {
      register_nav_menus(
        array(
          'header-menu' => __( 'Header Menu' ),
          'footer-menu' => __( 'Footer Menu' )
        )
      );
    }
    add_action( 'init', 'register_my_menus' );
    <?php
    wp_nav_menu( array( 'theme_location' => 'header-menu' ) );
    ?>
    function my_custom_sidebar() {
      register_sidebar(
        array (
          'name' => __( 'Custom Sidebar', 'your-theme-domain' ),
          'id' => 'custom-sidebar',
          'description' => __( 'Custom Sidebar for Theme', 'your-theme-domain' ),
          'before_widget' => '<div class="widget-content">',
          'after_widget' => '</div>',
          'before_title' => '<h3 class="widget-title">',
          'after_title' => '</h3>',
        )
      );
    }
    add_action( 'widgets_init', 'my_custom_sidebar' );
    <?php
    if ( is_active_sidebar( 'custom-sidebar' ) ) {
      dynamic_sidebar( 'custom-sidebar' );
    }
    ?>
    document.addEventListener("DOMContentLoaded", () => {
      const element = document.getElementById("interactive-element");
      if (element) {
        element.addEventListener("click", () => {
          alert("TypeScript is working!");
        });
      }
    });
    global $wpdb;
    $results = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}posts WHERE post_status = 'publish'" );
    foreach ( $results as $post ) {
      echo $post->post_title;
    }
    register_activation_hook( __FILE__, 'create_custom_table' );
    function create_custom_table() {
      global $wpdb;
      $table_name = $wpdb->prefix . 'custom_table';
      $charset_collate = $wpdb->get_charset_collate();
    
      $sql = "CREATE TABLE $table_name (
        id mediumint(9) NOT NULL AUTO_INCREMENT,
        time datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
        name tinytext NOT NULL,
        email VARCHAR(100) NOT NULL,
        PRIMARY KEY  (id)
      ) $charset_collate;";
    
      require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
      dbDelta( $sql );
    }
    function custom_form_shortcode() {
      ob_start();
      ?>
      <form method="post">
        <?php wp_nonce_field( 'submit_form' ); ?>
        <input type="text" name="name" placeholder="Name" required>
        <input type="email" name="email" placeholder="Email" required>
        <input type="submit" name="submit_form" value="Submit">
      </form>
      <?php
      return ob_get_clean();
    }
    add_shortcode( 'custom_form', 'custom_form_shortcode' );
    function handle_form_submission() {
      if ( isset( $_POST['submit_form'] ) ) {
        // Security check
        if ( ! wp_verify_nonce( $_POST['_wpnonce'], 'submit_form' ) ) {
          die( 'Security check failed' );
        }
    
        global $wpdb;
        $table_name = $wpdb->prefix . 'custom_table';
        $name = sanitize_text_field( $_POST['name'] );
        $email = sanitize_email( $_POST['email'] );
    
        $wpdb->insert(
          $table_name,
          array(
            'time' => current_time( 'mysql' ),
            'name' => $name,
            'email' => $email,
          )
        );
      }
    }
    add_action( 'init', 'handle_form_submission' );
    Why is it important to use the "correct" semantic element?
  • Why is it important to create a responsive design?
  • to get a single value from an array?

    How could you chain promises together to avoid "callback hell"?

  • What is an HTTP response?
  • What's the difference between a "property" and an "attribute"?
  • Why should your tests be isolated from each other?
  • Software Foundation Handbookarrow-up-right
    hashtag
    Execute Program
    • Finalize incomplete courses

    • SQLarrow-up-right

    hashtag
    Topics

    • Unit testing backend functionality with Node's built-in testing suite

    • API testing with Postman

    • End-to-end testing with Cypress for React applications

    • Component testing in React

    • Writing maintainable and readable test cases

    • Configuring environment variables for different deployment stages

    • Setting up and configuring cloud platforms (AWS EC2)

    • Managing CORS policies in deployed applications

    hashtag
    Stretches

    • Implementing Continuous Integration and Deployment (CI/CD) pipelines

    • Securing applications with HTTPS

    hashtag
    Project

    • Develop a comprehensive testing strategy covering unit, integration, and end-to-end tests

    • Implement tests using Cypress, Postman, and Node's testing library

    • Deploy both the backend and frontend

    • Configure environment variables for different deployment stages

    • Document the setup, deployment process, and usage instructions

    hashtag
    Additional Skills

    • Managing test data and state

    • Implementing reverse proxies

    • Configuring CORS policies

    • Using GitHub Actions for CI/CD

    Persisting data with SQLite and Nodearrow-up-right

    Testing and deployment

    hashtag
    .NET

    hashtag
    Testing

    define('DB_NAME', 'wordpress_db');
    define('DB_USER', 'root');
    define('DB_PASSWORD', '');
    <!DOCTYPE html>
    <html>
    <head>
      <title><?php bloginfo('name'); ?></title>
      <?php wp_head(); ?>
    </head>
    <body>
      <?php wp_footer(); ?>
    </body>
    </html>
    <?php get_header(); ?>
    <h1>Welcome to <?php bloginfo('name'); ?></h1>
    <?php get_footer(); ?>

    10:00

    10:30

    Native JS modules

    11:00

    innerHTML, Template element

    13:00

    Lunch

    14:00

    Components, Stateful rendering

    16:00

    and intro

    16:15

    17:15

    Spike presentation prep

    17:45

    Checkout

    hashtag
    Day 2

    Time
    Activity
    Learning outcomes

    09:45

    Check-in

    10:00

    Spike presentation prep

    10:10

    Spike presentations

    hashtag
    Day 3

    Time
    Activity
    Learning outcomes

    09:45

    Check-in

    10:00

    CSS pseudo-elements

    11:00

    Project

    hashtag
    Day 4

    Time
    Activity

    09:45

    Check-in

    10:00

    Project

    13:00

    Lunch

    14:00

    Project

    17:45

    Check out

    hashtag
    Day 5

    Time
    Activity

    09:45

    Check-in

    10:00

    Team code review

    10:45

    Expert Feedback - Live code review

    11:15

    Respond to issues

    12:00

    Role circles

    09:45

    Check-in

    Precourse Material
    1. Command Line

    2. Git & GitHub

    3. Markdown

    Please do not forget that we don't use frameworks at FAC – ignore Bootstrap and JQuery, and make sure you work in vanilla HTML, CSS and JavaScript.

    If you have any problems with the following material, feel free to reach out to your peers and FAC Staff through your cohort's Slack channel!

    hashtag
    Command Line

    Learning outcome:

    • Be familiar with navigating around your computer without using a Graphical User Interface (GUI).

    Resources:

    • Learn Python The Hard Way has a great Command Line Interface Crash Coursearrow-up-right.

    hashtag
    Git & GitHub

    Learning outcomes:

    • Understand the purpose of using Git and GitHub

    • Know basic git commands like git add, git commit and git push

    Resources:

    • Udacity's git & GitHub coursearrow-up-right is a brilliant set of videos. The course is quite long, so don't worry about completing the whole thing. We will go into more depth in week 1. For now, just complete lesson 1 (Navigating A Commit History section).

    hashtag
    Markdown

    Learning outcome:

    • Know markdown syntax well enough to create readmes

    Resources:

    • No GitHub repo is complete without proper documentation. Follow this markdown tutorialarrow-up-right to learn the syntax that you need to write a banging Readme!

    hashtag
    Semantic HTML

    Learning outcome:

    • Be familiar with accessiblearrow-up-right HTML5 elements.

    Resources:

    • Herearrow-up-right is a 6 minute youtube video to introduce you to the concept of the semantic web. You will be expected to write semantically during week 1, so brush up with the following:

    • Read this articlearrow-up-right to stop using too many divs (divitis). Don't be fooled by the scroll bar - the article isn't particularly long, but there are many comments below.

    • Head to this articlearrow-up-right for more specific examples of useful semantic tags.

    hashtag
    CSS

    Learning outcomes:

    • Be able to apply positioning and layout techniques to solve common problems

    • Understanding basic CSS rules

    • Understand the differences between em and rem units and how to combine them effectively

    Resources: This section includes condensed articles/videos that will be beneficial when tackling CSS throughout the course;

    • Learn Layoutarrow-up-right is a helpful, lightweight, well-ordered guide that covers a lot of concepts in CSS to help you understand how to create a super basic layout. Additional links are provided in each section for more detailed explanations of concepts.

    • Relative & Absolute Positioningarrow-up-right this great 7 minute video will cover the position property, after watching you’ll be able to apply positioning techniques with layout techniques from the Learn Layoutarrow-up-right video to accomplish many important tasks like centeringarrow-up-right.

    • is an essential guide to understanding how CSS rules are applied and how CSS works in general.

    • this is another essential guide to help you understand the differences between em and rem units and how to combine them effectively.

    hashtag
    DOM Manipulation

    Learning outcomes:

    • Understand what the DOM is

    • Create, access, and style a DOM element

    Resources:

    • Call Me Nick - DOM Manipulation Basicsarrow-up-right (archived version) will cover a lot of the basics.

    • MDN article on "Manipulating Documents"arrow-up-right - useful for some further reading, if you'd like

    • Appspot's DOM Tutorials: Exercises 1,2 & 3 onlyarrow-up-right will help put that into practice.

    • Bonus videos:

      • (includes some jQuery, but provides a useful overview and some vanilla JS examples)

    hashtag
    SQL

    Learning outcomes:

    • Understand what a relational database is

    • Select, Create and Manipulate data between tables

    Resources:

    • Code Academy's Introduction to SQLarrow-up-right - At a minimum, tackle section 1, hopefully section 2 and if you're having fun then section 3 and 4!

    • Playing around with creating tables and accessing the data on your local device will increase your confidence in week 6 - feel free to reach out if you'd like a practical project to work on with SQL!

    hashtag
    Practical Project

    Learning outcomes: Cement your knowledge of the concepts above through practical application.

    Task:

    • Build a calculator. This is one of the "Advanced Front End Development Projects" on Free Code Camparrow-up-right. Having a look at their guidelines might help you to get started.

    Rather than using Codepen or JS Fiddle, you should do this directly with your text editor, terminal and browser. Start by creating your repo on GitHub and stick to the command line for adding, committing and pushing your changes as you go.

    Make sure to host your project on GitHub pages.

    If anyone has already made a calculator and feels that they need a different challenge, please message one of us. Have fun, and don't hesitate to use your Slack channel!

    precourse material
    Installation List

    Learning Outcomes

    hashtag
    TypeScript and Express

    hashtag
    RESTFUL Api's

    hashtag
    Additional

  • Semantic HTML
    CSS
    DOM Manipulation
    SQL
    Practical project
    CSS Specificityarrow-up-right
    Rem/Em Unitsarrow-up-right
    The DOM: What is the Document Object Model?arrow-up-right
    Live coding intro to the DOM, with JS examplesarrow-up-right

    11:00

    Token authenticationarrow-up-right

    localStorage, token auth

    13:00

    Lunch

    14:00

    Student project session

    14:30

    Accessible status messagesarrow-up-right

    live regions, status updates

    16:00

    Tech for Better

    17:00

    Speaker

    17:45

    Check out

    12:45

    Role circles

    13:00

    Lunch

    16:30

    Employment: Portfolio sitearrow-up-right

    17:00

    Tech for Better

    17:45

    Check out

    12:15

    Presentation prep

    13:00

    Lunch

    14:00

    Presentations

    15:15

    Cohort SGC

    16:00

    Team SGC

    16:45

    Update user manuals

    17:00

    Speaker

    17:45

    Check out

    Intro presentationarrow-up-right
    Intro to ES Modulesarrow-up-right
    Client-side renderingarrow-up-right
    Component architecturearrow-up-right
    Projectarrow-up-right
    spikesarrow-up-right
    Technical spikesarrow-up-right
    Pseudo-elements challengearrow-up-right

    employability

    hashtag
    Building an online presence

    • Introduce the importance of building an online presence and ‘learning in public’

    • Discuss the benefits of maintaining an up-to-date LinkedIn profile

    hashtag
    Introduction to CVs and the Elevator pitch

    • Understand the importance of building and maintaining an up-to-date CV

    • Understand the the concept of an ‘elevator pitch’

    • Learn best practices when pitching yourself

    learning-outcomes

    hashtag
    Databases

    hashtag
    React

    Installation List

    hashtag
    For OSX Users:

    • Install Brewarrow-up-right

    • Optional: iTerm2

    hashtag
    For Linux Users:

    • Ubuntu and Linux Mint are probably the two most used desktop Linux distros out there. Mint is becoming increasingly popular and in a lot of ways, is more beginner-friendly than Ubuntu. It also uses up less memory resource (the most lightweight Mint edition is XFCE), and will be better suited to slower machines.

    hashtag
    For Windows Users:

    • For the course you'll need to install a Linux operating system on your machine and dual boot - students in the past who have tried to use Windows always encounter big setbacks with installation problems and general incompatibility issues.

    • Be sure to back up your files before you start, in case anything goes wrong. You will still be able to use Windows alongside Linux and if everything goes right, you won't lose any data.

    • It's not as scary as it sounds! There are a lot of articles online to help you. Due to a lot of different OS configurations you may be best off searching google for your specific OS + distro (eg: "dual boot windows 10 and Ubuntu"). However here are some links that may be useful:

    If you're having hardware or permissions issues when dual booting, you may be able to use . If you're going down this route, please make sure postgres is installed correctly too.

    hashtag
    Chromebook Users:

    • Chromebooks and is pretty simple, too.

    hashtag
    For Everyone:

    • Install and manage Node.js using .

      Note: We will be covering Node.js during the course. If you are curious and would like some background reading, is a great resource.

  • We shall have a couple of FAC students and alumni available at the installation party to guide you through installing linux. Please come along if you have Windows OS.

  • Finally please do not hesistate to come to a meetup or contact us on slack if you are having trouble, we can help!

  • Install a text editor of your choice. We recommend:
    • - because of it's source control and liveShare features

  • Install Chrome

  • Install

  • Chrome extensions:

    • JSONView

  • Make sure to explore your editors plugin ecosystem for useful plugins:

    • - we recommend prettier and Rainbow Brackets

  • Download the - the interface is easier to manage the different workspaces you'll be part of

  • ...but don't be overwhelmed, you don't need to install anything further

  • Distro

    Base

    Package Manager

    Windows Subsystem for Linuxarrow-up-right
    all now officially run Linuxarrow-up-right
    setting it up on older machinesarrow-up-right
    nvmarrow-up-right
    Art of Nodearrow-up-right
    Install PostgreSQLarrow-up-right
    How to install Ubuntu 18.04 alongside Windows 10arrow-up-right
    Dual boot Linux on other Windows OS'sarrow-up-right
    VS Codearrow-up-right
    Setup SSH access to your Github accountarrow-up-right
    Postmanarrow-up-right
    VSCode Marketplacearrow-up-right
    Slack Desktop Clientarrow-up-right
    Ubuntuarrow-up-right
    Debianarrow-up-right
    APTarrow-up-right
    Linux Mintarrow-up-right
    Debianarrow-up-right
    APTarrow-up-right