Here is the shortest guide on firebase serve:
1)Firebase serve is used to start your server and host the project on your localhost.
command: firebase serve (in your firebase project folder command line)
2)It also provides logs of access.
3) Use -p followed by post number to specify the port. Default is 5000.
4) Use -o followed by host to specify the host. Default is localhost.
5) Use --only and --except to serve only a specific or serve all except specific file.
6)Following command will stop a process on the terminal:
Ctrl + c
Hope it helps :)
Comments
Post a Comment