File size: 514 Bytes
c5ac4b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This is the code for API key Generation

## Client

This is the interface a user goes to for requesting an API key.

The client asks the server to generate a new API key. Only the client website 
can request new keys.

Login is handled through google auth. Keys are associated with email addresses.

## Server

Server handles requests for new keys. It also exposes and endpoint for verifying
that a key exists. Currently it doesn't do anything more can check existance of 
keys, but we will be fixing that soon.