From Script Tags to a Vite Project

Martin Breuss 18 Lessons 6h 45m Updated intermediate frontend tools

The site for Generic Grocery Co. has a new to-do list: an “Open now” badge that knows the holiday hours, weekly deals that know whether their week is on, and curbside pickup through Generic Curbside, a fictional service whose demo form uses a fake key and sends no real orders. Building all that means turning a folder of script tags into a real project, while the site on main keeps working.

You’ll learn how to:

  • Start the move on a Git branch so main keeps working
  • Turn the site into an npm project and check a package before you install it
  • Run the site on Vite’s dev server, then build all four pages for publishing
  • Bring fixes from main into your branch, and tell a fast-forward from a merge commit
  • Keep Generic Curbside’s key out of your repository with an ignored .env file
  • Merge the branch into main once npm run check passes

This course is for you if you can commit with Git and write JavaScript modules but haven’t used npm, Vite, or branches yet. It’s the second course in the Tooling and Git for JavaScript Projects path, and its starter project lets you begin here directly.

What’s Included:

  • 18 Lessons
  • Video Subtitles and Full Transcripts
  • Translated Subtitles in 8 Languages
  • 3 Downloadable Resources
  • Interactive Quiz to Check Your Progress
  • 2 Hands-On Coding Exercises
  • Q&A With JavaScript Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Related Learning Paths:

About Martin Breuss

Martin is Head of Content Strategy at RealJS. He came to programming from biology and has been teaching programming for more than ten years, as a coding mentor, code reviewer, curriculum developer, bootcamp instructor, and instructional designer.

» More about Martin

Each tutorial at RealJS is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

← Browse All Courses