├── LICENSE ├── README.md ├── lesson-0.pdf ├── lesson-1.pdf ├── lesson-10.pdf ├── lesson-11.pdf ├── lesson-12.pdf ├── lesson-13.pdf ├── lesson-2.pdf ├── lesson-3.pdf ├── lesson-4.pdf ├── lesson-5.pdf ├── lesson-6.pdf ├── lesson-7.pdf ├── lesson-8.pdf └── lesson-9.pdf /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 pleb-devs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PlebDevs Backend Course 2 | 3 | Welcome to the Pleb Devs Backend Course repository! This repository contains materials and resources for our backend web development course. 4 | 5 | The PlebDevs backend development course is designed to teach you the fundamentals of backend development with a focus on building a fullstack Lightning wallet. 6 | 7 | ![plebdevs-thumbnail](https://github.com/pleb-devs/plebdevs-course-2/assets/53542748/466d2993-8c88-4362-804a-3ea3ca4c3bef) 8 | 9 | ## Getting Started 10 | 11 | To go through the course material, simply follow the README files or slideshow PDF's lesson by lesson. 12 | 13 | ## Completed code 14 | The fully completed project from the course can be found here: [https://github.com/AustinKelsay/pleb-wallet-backend](https://github.com/AustinKelsay/pleb-wallet-backend) 15 | 16 | ## Lesson 0: Introduction to the course 17 | 18 | - [Lesson 0 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-0.pdf) 19 | - [Lesson 0 link to slides](https://docs.google.com/presentation/d/1S_ZKZFXtKrsIExZASBOqD7Jjb23-Ht22e2PxNdzB1ro/edit?usp=sharing) 20 | 21 | ## Lesson 1: Introduction to Node.js 22 | 23 | - [Lesson 1 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-1.pdf) 24 | - [Lesson 1 link to slides](https://docs.google.com/presentation/d/1eOUZ86R34oNiWEHRW70N5d-2qDuSQVkHmG6xi6ajBHc/edit?usp=sharing) 25 | 26 | In the first lesson, you'll learn the basics of Node.js, working with NodeJs modules, and we'll talk about the differences between building in a web environment vs the server environment. 27 | 28 | ## Lesson 2: Learn Express 29 | 30 | - [Lesson 2 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-2.pdf) 31 | - [Lesson 2 link to slides](https://docs.google.com/presentation/d/1xIkS_Rb8cIrR4eEUT04LJdfdapl1GLCuWWqYVAyG2pc/edit?usp=sharing) 32 | 33 | Lesson 2 will introduce you to Express.js, a popular Node.js framework. You'll learn about creating routes, handling requests, and sending responses. 34 | 35 | ## Lesson 3: Learn Express Router 36 | 37 | - [Lesson 3 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-3.pdf) 38 | - [Lesson 3 link to slides](https://docs.google.com/presentation/d/1l3ii5VtdZcSTdFlGdczx3CD4Vg4qn_x2JfvcjFCt7JE/edit?usp=sharing) 39 | 40 | Lesson 3 will introduce you to more advanced API routing in Express.js 41 | 42 | ## Lesson 4: Learn Express Middleware 43 | 44 | - [Lesson 4 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-4.pdf) 45 | - [Lesson 4 link to slides](https://docs.google.com/presentation/d/1M3wmeBco_Z31ahhSbSSx0yyUUpqDytj_A62eZNan-h8/edit?usp=sharing) 46 | 47 | This lesson dives into the Express Router and how to use middleware for code organization and reusability in your web applications. 48 | 49 | ## Lesson 5: Authentication with Express 50 | 51 | - [Lesson 5 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-5.pdf) 52 | - [Lesson 5 link to slides](https://docs.google.com/presentation/d/190OsLT3zosjGmjJt8pBA9PmVdfFTPLF4EtuC_CMMc_k/edit?usp=sharing) 53 | 54 | In Lesson 5, you'll learn about implementing authentication in your Express applications, covering both session-based and token-based authentication methods. 55 | 56 | ## Lesson 6: Introduction to the Lightning Network 57 | 58 | - [Lesson 6 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-6.pdf) 59 | - [Lesson 6 link to slides](https://docs.google.com/presentation/d/1KGI6HfvbeC8RGYyJtcbL6uaT9-FONOH9ki8QDv-Gxss/edit?usp=sharing) 60 | 61 | This lesson introduces the Lightning Network, explaining how it works and how you can build applications on top of it. 62 | 63 | ## Lesson 7: Building on LND 64 | 65 | - [Lesson 7 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-7.pdf) 66 | - [Lesson 7 link to slides](https://docs.google.com/presentation/d/1SRjrewHGZ61dbucV4u7_9wpKM24R0v4O6poXVeHD3bY/edit?usp=sharing) 67 | 68 | Lesson 7 focuses on building on top of LND (Lightning Network Daemon), including setting up and interacting with an LND node. 69 | 70 | ## Lesson 8: Introduction to Databases 71 | 72 | - [Lesson 8 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-8.pdf) 73 | - [Lesson 8 link to slides](https://docs.google.com/presentation/d/1-6XhWPhO65TSTeL9O_O3CZ1f3Pvufs5hj6OGmJvFQJU/edit?usp=sharing) 74 | 75 | In Lesson 8, you'll be introduced to databases, with a focus on the types of databases and how they integrate with backend applications. 76 | 77 | ## Lesson 9: Introduction to SQL 78 | 79 | - [Lesson 9 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-9.pdf) 80 | - [Lesson 9 link to slides](https://docs.google.com/presentation/d/1u0ylPhnyvmKhyNICjKEG-MJYoTnr_nvP0sttKIdlmZU/edit?usp=sharing) 81 | 82 | Lesson 9 covers the basics of SQL, the language used to interact with relational databases, and how to perform common database operations. 83 | 84 | ## Lesson 10: Database Development with Knex.js 85 | 86 | - [Lesson 10 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-10.pdf) 87 | - [Lesson 10 link to slides](https://docs.google.com/presentation/d/1vzXhmrolSIPXqvSHETIoOBS6o2tfoSvuJXpYcN0AwMk/edit?usp=sharing) 88 | 89 | This lesson teaches you how to use Knex.js, a SQL query builder for Node.js, which helps with building database queries in a more readable and maintainable way. 90 | 91 | ## Lesson 11: Connecting the API to the Database 92 | 93 | - [Lesson 11 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-11.pdf) 94 | - [Lesson 11 link to slides](https://docs.google.com/presentation/d/1x1oJMGHM_4nWfm4RGJVgnEbUW6QSvuok2ND1ToV0ppo/edit?usp=sharing) 95 | 96 | In Lesson 11, you'll learn how to connect your API endpoints to the database to perform CRUD (Create, Read, Update, Delete) operations. 97 | 98 | ## Lesson 12: Connecting to the Frontend App 99 | 100 | - [Lesson 12 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-12.pdf) 101 | - [Lesson 12 link to slides](https://docs.google.com/presentation/d/1ByWC0wNA91zmZYKd_w7gDskv02rWZXxjgXDuAuJhL6k/edit?usp=sharing) 102 | 103 | Lesson 12 focuses on connecting the backend server to a frontend application, covering topics such as CORS, JSON handling, and API design. 104 | 105 | ## Lesson 13: Deploying the Production Database and Lightning Node 106 | 107 | - [Lesson 13 slides](https://github.com/pleb-devs/plebdevs-course-2/blob/main/lesson-13.pdf) 108 | - [Lesson 13 link to slides](https://docs.google.com/presentation/d/10Nn6H5QXXrzyulw43hgIPDXCLcsPsyUzkdgXjrdQqJE/edit?usp=sharing) 109 | 110 | In the final lesson, you'll learn about deploying your production-ready database and setting up a Lightning node to work with your application. 111 | -------------------------------------------------------------------------------- /lesson-0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-0.pdf -------------------------------------------------------------------------------- /lesson-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-1.pdf -------------------------------------------------------------------------------- /lesson-10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-10.pdf -------------------------------------------------------------------------------- /lesson-11.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-11.pdf -------------------------------------------------------------------------------- /lesson-12.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-12.pdf -------------------------------------------------------------------------------- /lesson-13.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-13.pdf -------------------------------------------------------------------------------- /lesson-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-2.pdf -------------------------------------------------------------------------------- /lesson-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-3.pdf -------------------------------------------------------------------------------- /lesson-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-4.pdf -------------------------------------------------------------------------------- /lesson-5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-5.pdf -------------------------------------------------------------------------------- /lesson-6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-6.pdf -------------------------------------------------------------------------------- /lesson-7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-7.pdf -------------------------------------------------------------------------------- /lesson-8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-8.pdf -------------------------------------------------------------------------------- /lesson-9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleb-devs/plebdevs-course-2/5ce08eb27b52d460c4b1aacd5e469d669e3a292c/lesson-9.pdf --------------------------------------------------------------------------------