Skip to content

Commit f2f8a60

Browse files
committed
docs: readme
1 parent 10642e8 commit f2f8a60

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# node-express-backend-component
1+
# node-express-firebase-mongodb
22

33
- [tsx](https://github.com/esbuild-kit/tsx)
44
- [pkgroll](https://github.com/privatenumber/pkgroll)
@@ -13,6 +13,8 @@
1313
- [firebase auth](https://firebase.google.com/docs/auth/admin)
1414
- [gcp](https://cloud.google.com/)
1515
- [digitalocean](https://www.digitalocean.com/)
16+
- [helmet](https://helmetjs.github.io/)
17+
- [cookie-parser](https://www.npmjs.com/package/cookie-parser)
1618

1719
A simple node/express backend api template.
1820

@@ -54,7 +56,7 @@ npm i
5456
npm run dev
5557
5658
# view it running on localhost
57-
curl localhost:3000
59+
curl localhost:4000
5860
```
5961

6062
Be sure to configure the .env file with the correct values and make sure you have a mongodb database setup and firebase application credentials.
@@ -90,10 +92,10 @@ docker build . --tag node-express
9092
docker build . --tag node-express --platform linux/amd64
9193
9294
# start the docker container
93-
docker run -d -p 3000:3000 node-express
95+
docker run -d -p 4000:4000 node-express
9496
9597
# view it running on localhost
96-
curl localhost:3000
98+
curl localhost:4000
9799
```
98100

99101
When building with Docker locally it will require the service account key to be set; this is because the Dockerfile is copying the service account key file into the image. See the [Firebase Auth](#firebase-auth) section for more info on the service account key file and Google Application Credentials.

0 commit comments

Comments
 (0)