In this video we will start with the fun part - coding! We will create a basic API method and learn how Node and Express work, after that we will connect to the DB hosted on our Raspberry Pi and to help us interacting with our Postgres DB we will use an ORM called Sequelize. I hope you will have as much fun watching this episode as I had making it!
Setup iPad PRO & Raspberry Pi 4: • Coding on the iPad Pro in ANY languag...
GitHub Repo : https://github.com/andreivisan/photo-...
Contents of this video:
0:00 Intro
01:30 Architecture & Design Recap
02:40 Node Application Setup
04:38 NPM Packages Installation
06:20 Creating our first API method
08:33 Creating specialised routes files
11:54 Initialising Sequelize in our project
13:33 Configuring and using dotenv
15:31 Creating the Postgres Database
15:54 Using TablePlus to connect to the Database
16:56 Creating Sequelize models using Sequelize CLI
18:45 Sequelize Migrations
_______
Personal Website: http://www.programminglife.io
Instagram: / programminglife.io
GitHub: https://github.com/andreivisan