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.
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.
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.
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.