From the course: Angular: API Communication and Authentication
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Seeding a database - Angular Tutorial
From the course: Angular: API Communication and Authentication
Seeding a database
- [Narrator] It's a common task to seed your database with initial data. Sometimes these records are imported from another data source or have been manually collected. For this demo, we have some sample data for both our contacts and the users that will be able to log in to this application. I have Visual Studio code open. So, let's go ahead and open up the exercise files. This is the starting point of development for this application. So, I recommend you start here and build the application as we go along. Let's install our dependencies. You can use the built in terminal in Visual Studio code and open it using "control", "back tic". First thing we want to do is install our dependencies and we can do that by running NPM install. What this will go ahead and do is fetch all of the dependencies; both the dependencies and the devDependencies. So, things like angular, bcrypt, express for our node API, the mondodb client, and rxjs. While that is installing, let's go ahead and configure our…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.