Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Full-Stack Vue + Node > Lesson 47

Protecting item routes

You may be wondering how we're going to create the admin user account. Well, we're not going to be modifying the POST /users endpoint or making another new endpoint, we're actually going to use a script to create one.

Database seed

If you look in the scripts folder which I added in this module, you'll see two files here, seed.js and run_seed.js

Let's take a look at seed.js first.

Seed module


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom