---
# System prepended metadata

title: TBF TO-DO

---

# TBF TO-DO

### Checkpoint 1: June 23rd

#### Necessary Front-End


#### 
```
    fetch('https://api.thebluefootprint.com/users')
```
#### Back-End Code:
* User Schema:
```json
{ 
    username: "",
    email: "", //
    position: 0, // Position in line
    avatarId: 1,
    commitments: ["water", "earth", "fire"]
}
```
* OAuth URL:
```
https://api.thebluefootprint.com/connect/google/redirect
```
* OAuth Response (JWT):
```json
{
    "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTc2OTM4MTUwLCJleHAiOjE1Nzk1MzAxNTB9.UgsjjXkAZ-anD257BF7y1hbjuY3ogNceKfTAQtzDEsU",
    "user": {
        "id": 1,
        "username": "reader",
        ...
    }
}
```
* OAuth Response ():
```js
const { data } = await axios.get('http://localhost:1337/articles', {
  headers: {
    Authorization:
      'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTc2OTM4MTUwLCJleHAiOjE1Nzk1MzAxNTB9.UgsjjXkAZ-anD257BF7y1hbjuY3ogNceKfTAQtzDEsU',
  },
});
```
* API Endpoint
``
* CMS (https://api.thebluefootprint.com/admin):
> Email: riotmaps@gmail.com
> Password: Nr4TH1FI1bKc