-
Pull down this repo
-
Run the two scripts that are in the SQL folder. These will create the Tabloid database and add some test data. The database it creates is identitical to the prototype from the last MVC sprint, except now we're capturing the
FirebaseUserIdin the UserProfile table -
Everyone on the team should create their own Firebase project. Each team member should do the follow steps in the firebase console:
- Go to Firebase and add a new project. You can name it whatever you want (Tabloid is a good name)
- Go to the Authentication tab, click "Set up sign in method", and enable the Username and Password option.
- Add at least two new users in firebase. Use email addresses that you find in the UserProfile table of your SQL Server database
- Once firebase creates a UID for these users, copy the UID from firebase and update the
FirebaseUserIdcolumn for the same users in your SQL Server database. - Click the Gear icon in the sidebar to go to Project Settings. You'll need the information on this page for the next few steps
-
cdinto Tabloid-Fullstack/Tabloid-Fullstack and entertouch appsettings.Local.json -
Paste the following into the appsettings.Local.json file:
{ "FirebaseProjectId": "YOUR_FIREBASE_PROJECT_ID" } -
Replace the placeholder with your firebase project id
-
Open your
clientdirectory in VsCode. Open the.env.local.examplefile and replace__YOUR_API_KEY_HERE__with your own firebase Web API Key -
Rename the
.env.local.examplefile to remove the.exampleextension. This file should now just be called.env.local -
Install your dependencies by running
npm installfrom the same directory as yourpackage.jsonfile
nss-day-cohort-43-csharp/Fullstack-Motley-Foo
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|