This template streamlines the setup for new Angular projects, pre-integrated with Firebase for backend services and Angular Material for UI components. Future versions will be tagged to align with Angular releases.
- Angular Material: Leverage a comprehensive library of pre-built UI components for a polished user experience.
- Angular Fire: Seamlessly integrate Firebase services (authentication, database, storage, etc.) into your Angular app.
- Angular ESLint: Style Adhere to recommended coding conventions for clean, consistent Angular code.
- Local Development with Emulators: Easily test Firebase features locally before deploying.
- Frontend: Angular
- Backend: Firebase
- UI Library: Angular Material
- Styling: Angular Material (with potential for customization)
- Code Style: Angular ESLint Style
- Clone the project
git clone https://github.com/anonymous-systems/angular-template
- Install dependencies
cd angular-template
npm i
- Configure Firebase: Update
environment.ts
andenvironment.development.ts
in thesrc/environments
directory with your Firebase project settings. - Initialize Firebase: Run the following command to initialize Firebase
firebase init
- Create
keys.ts
: Add this file to thesrc/environments
directory
// filename: keys.ts
export const FIREBASE_API_KEY = 'Your Firebase Project API Key';
export const RECAPTCHA3_SITE_KEY = 'Your Recaptcha3 Site Key';
- Start the development server with local emulators
npm run dev
Unit tests:
npm run test
Headless unit tests (For faster, browser-less testing):
npm run test:headless
Have feedback, suggestions, or need help? Email me at [email protected]
-
Optimizations: This is a starting template. Performance optimizations and accessibility improvements can be added as the project progresses.
-
License: MIT