You can visit the Postiterie at this url : http://debaser.fr/postiterie (keep in mind we need https in order to access the phone camera :/)
More details on our website (french only)
In order to use google drive api, you'll require credentials.
To get them you need to go to https://console.cloud.google.com/apis/dashboard and create an app by selecting the Google Drive Api. Then you'll need to select browser app, and specify source and redirect url (this app uses localhost:8080 by default) then you have to create the credentials : an api key and a client which you'll be able to get the id of
then add a file named .env.local
in the root folder with these 2 lines (these are fake, use yours) :
VUE_APP_API_KEY=AIaDyCp7-1deE8KGorrOce7toVfdBhiDXhs-sM
VUE_APP_CLIENT_ID=11111134087842-7babrj6q1uronhdndr2a5fj6lv6m5cff.apps.googleusercontent.com
once you've done that, you must still set-up the mailing system, for that you have to go to https://www.smtpjs.com/ and encrypt your smtp credentials. This will give you a token, then simply add these 2 lines to .env.local
(with your email and your token)
[email protected]
VUE_APP_SMTP_TOKEN=5fake624d8-2b8a-4492-b37a-a7feebb02152
Once you've done, that you're ready for next step!
npm install
npm run serve
npm run build
you'll find the result in the dist
folder