Skip to content

A starter app to get started with realtime chat with firebase angular2 and web-push

License

Notifications You must be signed in to change notification settings

SunilRumbaLama/angular2Chatapp

Repository files navigation

NepalChatApp

DEMO: NepalChatApp

Run npm uninstall -g angular-cli
Run npm cache clean
Run npm install -g angular-cli@1.0.0-beta.21
Run npm install to install all the dependencies.

Go to FIREBASE, set up an account, create a project and get the keys that you need. It is really easy process. Go through the firebase docs.

Create a project in firebase. Navigate to app/src/app.module.ts

export const firebaseConfig = {
apiKey: 'yourapikey',
authDomain: 'your authDomain',
databaseURL: 'yourdatabaseurl',
storageBucket: 'yourStorageBucket',
messagingSenderId: 'yourid'
};

Changing the keys to your firebase application will get you up and running.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

About

A starter app to get started with realtime chat with firebase angular2 and web-push

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published