# In-Common product handover
### Project Links
- [GitHub Code base](https://github.com/tech-for-better/in-common)
- [Deployed site](https://in-common.vercel.app/)
**BackEnd**
- [Firebase Authentication](https://console.firebase.google.com/project/tfb-in-common/authentication/users)
- [Test AirTable base](https://airtable.com/appJjpbmSE0IhQX9y)
- [Production AirTable base](https://airtable.com/appfcgs40cXKkuTW9)
### How to videos:
- [create an account](https://www.loom.com/share/5440dbb8849e4bb6b0ca65a4640dcf9c)
- [see signups in firebase and airtable](https://www.loom.com/share/fd370fef273d47eb819d1da6e87ddc16)
- [delete a user on Firebase and Airtable](https://www.loom.com/share/5ce047f09bfa47adba3c676f8cf15ae9)
- [link accounts](https://www.loom.com/share/b3c319c1a21542e6b3224c6a5b5025e2)
- [change your password](https://www.loom.com/share/9c2a085e9cd44a71ab4854b922ca0d6e)
- [log in](https://www.loom.com/share/c2ac9a5dabf548f0a3080d9fec776aed)
- [log out](https://www.loom.com/share/427669b6d1c9486db73b3e2edf400412)
- [create an event](https://www.loom.com/share/a2a56049099b463ba64fff0224e47cc9)
- [respond to an event by confirming the date](https://www.loom.com/share/8f98b1d012504820a0b5a359e5c759c0)
- [decline/cancel an event](https://www.loom.com/share/6d81b7f4c4584eea9c0eb62d255112cb)
### Secrets
#### Airtable
While developing this project, we used a [Practice Base](https://airtable.com/appJjpbmSE0IhQX9y/)
To connect a new Airtable base, you need 2 keys:
1. The **API_KEY** of the Airtable account
- Log in with the Airtable Account you wish to use
- Find the API Key of this account on the [Airtable Account Dashboard](https://airtable.com/account) in the API Section
- Click into ***** field → your API key becomes visible
- Copy the API key
- If you need a new API key (perhaps to make sure it remains secret)
- Click on "Regenerate API key" next to the ***** field
- Copy this new API key
2. The **BASE_ID**
- Go to the [Airtable API Guide](https://airtable.com/api)
- Click on your project
- In the Introduction section, you will find
- "The ID of this base is ..."
- As well as a handbook on how to write code for your Airtable base
- The BASE_ID is also part of the url when you view your tables
3. Copy both keys
- Paste them in your code editor (.env.local file)
- replace the Vercel (or whichever deployment you are using) Environment Variables for the deployed version
### Known bugs
- events with suggested dates in the past cannot be confirmed and get stuck, they'll need to be deleted in Airtable
### Contact details
- Alex: lopez@live.co.uk
- Cemal: cemalokten@gmail.com
- Barbara: appenzeller.barbara@gmail.com
- Adriana: adriana@stanciu.uk
- Mohamed: Alisiyad9@gmail.com
{"metaMigratedAt":"2023-06-16T16:19:51.834Z","metaMigratedFrom":"Content","title":"In-Common product handover","breaks":true,"contributors":"[{\"id\":\"548f50f6-57d2-41cc-8ac5-16f14911b4e2\",\"add\":2130,\"del\":1698},{\"id\":\"0a3ab15b-3310-4524-96d0-8240b9d0005e\",\"add\":2428,\"del\":1270},{\"id\":\"fd429060-bd08-4036-b343-577a83f24e57\",\"add\":19,\"del\":0},{\"id\":\"6cc335f8-1f36-47ab-89ea-21858127bf52\",\"add\":1641,\"del\":421}]"}