nss-day-cohort-43-csharp / Fullstack-Panteras-Implicit-Return

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tabloid - Fullstack

We have two sprints to implement a production ready Tabloid application.

Getting Started

  1. Pull down this repo

  2. 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 FirebaseUserId in the UserProfile table

  3. 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 FirebaseUserId column 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
  4. cd into Tabloid-Fullstack/Tabloid-Fullstack and enter touch appsettings.Local.json

  5. Paste the following into the appsettings.Local.json file: { "FirebaseProjectId": "YOUR_FIREBASE_PROJECT_ID" }

  6. Replace the placeholder with your firebase project id

  7. Open your client directory in VsCode. Open the .env.local.example file and replace __YOUR_API_KEY_HERE__ with your own firebase Web API Key

  8. Rename the .env.local.example file to remove the .example extension. This file should now just be called .env.local

  9. Install your dependencies by running npm install from the same directory as your package.json file

About


Languages

Language:C# 50.6%Language:JavaScript 43.5%Language:TSQL 2.7%Language:CSS 1.7%Language:HTML 1.5%