You have two options when you’re ready to build a new app from marcus-template:
- Go to the template repo:
iambillmccann/marcus-template. - Click Use this template → Create a new repository.
- Name your repo, pick visibility, and (if needed) check Include all branches.
- Create the repo, then clone your new repo locally and start coding.
# Replace ORG/REPO with where the new app should live
gh repo create ORG/REPO \
--template iambillmccann/marcus-template \
--private --clone
cd REPOFollow these steps to set up your local development environment for the project.
-
Open your terminal.
-
Clone the project repository using the GitHub URL provided by your instructor:
git clone https://github.com/your-instructor/repository-name.git
cd repository-nameInstall all required Node packages:
npm installYou’ll need to create your own Firebase project and configure Authentication.
Follow these steps:
-
Create a new Firebase project (you can name it anything).
-
In the Firebase dashboard, click </> (Web) to create a new web app.
-
Firebase will generate configuration values like
apiKey,authDomain, etc. -
Enable an Authentication provider (e.g., Email/Password) under Build → Authentication → Sign-in method.
Create a .env.local file in the root of the project and copy the following template:
NEXT_PUBLIC_FIREBASE_API_KEY="your-api-key"
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="your-project-id.firebaseapp.com"
NEXT_PUBLIC_FIREBASE_PROJECT_ID="your-project-id"
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET="your-project-id.appspot.com"
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="your-messaging-sender-id"
NEXT_PUBLIC_FIREBASE_APP_ID="your-app-id"
NEXT_PUBLIC_FIREBASE_CLIENT_EMAIL="firebase-adminsdk-xxx@your-project-id.iam.gserviceaccount.com"
NEXT_PUBLIC_FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY\n-----END PRIVATE KEY-----\n"
⚠️ Be sure to replace each value with the actual config from your Firebase project. For the private key, escape each line break with\n.
Now that everything is configured, start the development server:
npm run devThe app should be available at http://localhost:3000.