This project is able to let users save the login credentials into the Firebase database. All the function is working already, the only thing you need to do is create your database and connect to the database. That's all!!
This project is using Angular to build. Please make sure you have install Angular CLI
Table of Contents
##How to run this project?
- First, you need to install
Angular CLI
if you haven't install yet please refer Here - Once the
Angular CLI
is ready on your machine, clone this project.
git clone https://github.com/zhentong98/PasswordManager
- Open your
terminal / Command Prompt
cd to that folder you clone just now. - Install all the packages we need for this project.
npm install
-
Set up the firebase. Firebase
Click on theGet Started
-
Here we select the
Default
one and click theCreate Project
.
9.Once the project created, then click the Continue
.
10.Now the project already created, lets continue to enable the Authentication
11.Click on the Get Started
button.
-
Okay's
Authentication
is enabled, let's move forward to the Firestore Database. -
For now, we select the
test mode
first. We can change it later and click on the Next button. -
Select the firestore location, I select the
asia-northeast2
and click on theEnable
button. -
Nice!!
Firestore Database
we have also done. Let's move to the last step, configure the firebase connection for our Project. Click on thesettings
icon and selectProject settings
. -
Copy this information and paste into the enviroment.ts and enviroment.prod.ts.
enviroment.ts
enviroment.prod.ts
-
That's all you need to configure for this project! now you should able to run this project on your machine, cd to the folder where you clone this project, and run this command on your
Terminal / Command Prompt
ng serve
The default url should be this.
http://localhost:4200