- [Instructor] In this video,
you'll be setting up the demo project
to follow the exercises in this course.
For this, you will need to have
your command line terminal open.
I already have this open
and we'll be going in to the command to pull the project
from the remote GitHub repository.
Whilst you have your terminal open,
navigate to the location in your file system
where you want to have the demo project.
At this location, type the command git clone
and the location of the project,
then hit enter.
This will pull the project from the remote repository
into your current location on the terminal.
Once the project completes,
you now have a project to work with.
Go into the project route with the command CD
project name.
Next, you need to install the project dependencies
by running the command MPM install.
This might take a while, so you might want to come back
when the installation is done.
Once the dependencies have been installed,
you can then run the project by running the command NPM
run
serve.
This will kick off the process of booting up
the local development server for the view application.
Once the boot process is done,
the applications local address gets printed to the screen.
Copy this address and paste it in your browser
to load the application.
Our demo application is now loaded on the browser
and we see the login page
for the Explore California website,
the best website for booking your vacation in California.
This application will be used by users of the site
to access and manage their travel profiles.
The user accesses their profile by typing in their email
and password in the login form
and submitting the credentials.
For this demo, type in user@test.com for the email,
then type testpassword into the password field.
With the credentials typed in
click on the submit button to login.
Once logged in, you see the user's profile page.
On the left-hand side,
we see the user's bio-card containing
the avatar, name and address.
Below the bio-card are links to the user's social accounts.
On the right-hand side is more information about the user
and below that, the user's tour breakdown
and status of trips around California.
This is the project you'll be testing in this course.
You'll be writing unit tests to test the components
in this application,
and also write end-to-end tests to test features
like the login process.
In the next video,
we'll be taking a look at testing tools
that will be used for writing and running our tests.