A personal project to demo AI usage for software engineers!
⚠️ Minimum 50% of the project's code has been generated using AI.
Make the project run locally.
- Git
- Node.js (v18+)
- A text editor like Zed or VSCode
Clone the Repository
git clone https://github.com/alexsoyes/weekly-ai-tips
Then install the dependencies:
cd weekly-ai-tips/
Install Dependencies:
npm install
# setup husky git hooks
npx husky-init
Copy the example environment variable file and prepare yourself to fill it!
⚠️ Subscribers of online courses can access.env
directly from Discord!
cp -v .env.example .env.local
Not needed if you come from the online course.
Go to the Firebase Console: Firebase Console.
Click on your project (e.g., weekly-ai-tips).
Click the gear icon next to 'Project Overview' to go to 'Project settings'.
In the 'General' tab, scroll down to 'Your apps', and select the appropriate app (Web, iOS, Android, etc.).
Here you'll find most of your Firebase credentials:
- FIREBASE_API_KEY
- FIREBASE_AUTH_DOMAIN
- FIREBASE_PROJECT_ID
- FIREBASE_STORAGE_BUCKET
- FIREBASE_MESSAGING_SENDER_ID
- FIREBASE_APP_ID
These values are located under 'Firebase SDK snippet', usually provided as a configuration object.
Go to Google Cloud Console.
Navigate to 'IAM & Admin' > 'Service Accounts'.
Make sure your Firebase project (weekly-ai-tips) is selected.
Locate your service account. It might be one created by Firebase or a custom one you've made.
Click on the service account to view details.
Under the 'Keys' tab, you can generate a new private key if you don't already have one.
Downloading the key will give you a JSON file containing private_key
and client_email
. These are your FIREBASE_PRIVATE_KEY
and FIREBASE_CLIENT_EMAIL
.
npm run dev
- Public Area: http://localhost:3000.
- Dashboard: http://localhost:3000/dashboard.
- alex so yes - Initial work - @alexsoyes
This project is licensed under the LICENSE_NAME License - see the LICENSE.md file for details.