Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
petertimwalker authored May 24, 2024
1 parent ad41636 commit 3598702
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# api-service

This is a simple Express app hosted on an EC2 server used by peterwalker.xyz/bookapp to fetch the Google Books Api key it uses.
This is a simple Express app hosted on an Amazon Linux 2 EC2 server used by peterwalker.xyz/bookapp to fetch the Google Books Api key it uses.

peterwalker.xyz/bookapp fetches this api key by calling https://api.peterwalker.xyz/api/key.

This is important because Single Page Applications expose any secrets they are built with.

I use certbot to create the https certifications
```sudo yum install -y certbot```
```sudo certbot certonly --standalone -d api.peterwalker.xyz```

0 comments on commit 3598702

Please sign in to comment.