https://github.com/pesnik/angular-web-chat
web chat using firebase firestore in angular
https://github.com/pesnik/angular-web-chat
angular docker firebase
Last synced: 3 months ago
JSON representation
web chat using firebase firestore in angular
- Host: GitHub
- URL: https://github.com/pesnik/angular-web-chat
- Owner: pesnik
- License: mit
- Created: 2022-09-24T15:08:11.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T06:53:13.000Z (over 3 years ago)
- Last Synced: 2025-11-28T17:42:27.591Z (7 months ago)
- Topics: angular, docker, firebase
- Language: TypeScript
- Homepage:
- Size: 1.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Before you begin
## With docker
1. I assume you have docker & docker-compose installed on your pc.
2. Please notice on the scripts under package.json we declared "docker" which will be executed in `npm run docker` command. I have added --host to be 0.0.0.0 to allow my docker container to expose the port to localhost of my host computer. Meanwhile --poll=2000 will allow to recompile the project in every changes we save.
3. To run the project
```bash
# on the terminal run
docker-compose build
docker-compose up
# to run any commands on the docker container, on another terminal run
docker exec -it angular6-web-chat_web_1 /bin/sh
# docker exec -it angular6-web-chat_web_1 cmd.exe # for windows
# ng can be found at `node_modules/.bin/ng`
```
## Without docker
```bash
# run the following command on terminal
npm start
```
# Screenshots

# angular.json [modifications]
```js
"schematics": {
"@schematics/angular:component": {
"inlineStyle": true,
"inlineTemplate": true,
"skipTests": true
}
},
```