Proyek
Lihat di GitHub
Clone the app, install package dependencies, and start the dev server @
r-park/todo-angular-firebase
Tentang
Todo app with Angular CLI • AngularFire2 • Firebase • OAuth • SW-Precache
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliTodo app with Angular, AngularFire2, and Firebase
A simple Todo app example built with Angular, Angular CLI and AngularFire2. The app features a Firebase backend with OAuth authentication. Try the demo at ng2-todo-app.firebaseapp.com.
Stack
- Angular 4
- Angular CLI
- AngularFire2
4.0.0-rc.1 - Firebase
- RxJS
- SASS
- Typescript
Quick Start
Install Angular CLI
$ npm install -g @angular/cli
Clone the app, install package dependencies, and start the dev server @ localhost:4200
$ git clone https://github.com/r-park/todo-angular-firebase.git
$ cd todo-angular-firebase
$ npm install
$ npm start
Deploying to Firebase
Prerequisites
- Create a free Firebase account at https://firebase.google.com
- Create a project from your Firebase account console
- Configure the authentication providers for your Firebase project from your Firebase account console
Configure this app with your project-specific details
Edit .firebaserc in the project root:
{
"projects": {
"default": "your-project-id"
}
}
Edit the firebase configuration in src/environments/firebase.ts
export const firebaseConfig = {
apiKey: 'your api key',
authDomain: 'your-project-id.firebaseapp.com',
databaseURL: 'https://your-project-id.firebaseio.com',
storageBucket: 'your-project-id.appspot.com'
};
Install firebase-tools
$ npm install -g firebase-tools
Build and deploy the app
$ npm run build
$ firebase login
$ firebase use default
$ firebase deploy
Commands
| Script | Description |
|---|---|
npm start |
Start development server @ localhost:4200 |
npm run build |
build the application to ./dist |
npm run lint |
Lint .ts files |
Jelajahi proyek terkait
Memuat…