jcpage573 / prisoners-dilemma

Team activity simulating the iterative prisoner's dilemma, members make their strategies to play the game and whoever gets the most points wins!
MIT License
0 stars 0 forks source link

Auth Middleware #9

Open hunterjsb opened 5 days ago

hunterjsb commented 5 days ago

Issue

To make sure we don't get DDOS'd (among many other things) we should implement some API key middleware. I've started on #1 and figured it would make sense to start with middleware.

Implementation

And of course we would need to decide what endpoints correspond to what...

hunterjsb commented 5 days ago

As part of this same issue we need to implement a way to register essentially, to get a new key, and store it on the server.