In this episode, we’re taking GitHub Copilot to the next level by building a full backend REST API using Python, FLask and SQLAlchemy! Kedasha Kerr uses GitHub Copilot to make the process clear and accessible in this GitHub for Beginners video. Follow along to see how Copilot acts as your AI pair programmer, helping turn natural language into working code.
Follow along to see how Copilot acts as your AI pair programmer, helping turn natural language into working code.
Planventure repo: https://gh.io/planventure
Blog walkthrough: https://github.blog/ai-and-ml/github-copilot/github-for-beginners-building-a-rest-api-with-copilot/
#GitHub #Copilot #API
▬▬▬▬▬▬ TIMESTAMPS ⌚ ▬▬▬▬▬▬
00:00 How to build a REST API with GitHub Copilot
01:36 Setting up virtual environment and Flask server
02:50 Database setup with Flask and SQLAlchemy
04:14 Building user and trip models using Copilot
06:14 Initializing and viewing database tables
08:22 User authentication and JWT token setup
12:45 Testing user registration and login API
15:53 Creating trip CRUD routes with Copilot
21:12 Building default itinerary template
24:22 Finalizing API MVP, adding CORS and README
Stay up-to-date on all things GitHub by connecting with us:
YouTube: https://gh.io/subgithub
Blog: https://github.blog
X: https://twitter.com/github
LinkedIn: https://linkedin.com/company/github
Insider newsletter: https://resources.github.com/newsletter/
Instagram: https://www.instagram.com/github
TikTok: https://www.tiktok.com/@github
About GitHub
It’s where over 100 million developers create, share, and ship the best code possible. It’s a place for anyone, from anywhere, to build anything—it’s where the world builds software. https://github.com