-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guntoro Yudhy Kusuma #12
base: master
Are you sure you want to change the base?
Conversation
Selamat pagi mas Wika.
Ini isi dari .env nya |
Oh ya untuk kendala saat mengerjakan tugas:
|
untuk menjalankan server
untuk menjalankan client (port harus 8080)
|
jangan lupa mongodb nya dinyalain dulu ya mas.. kalau nggak nanti tidak bisa login |
yg belum saya handle:
|
Ketika login bukan pakai google sign in, kemudian ingin menambahkan todo ke google calendar maka harus klik Authorize dulu. Tapi jika tombol Authorize tidak muncul coba klik salah satu todo yang lain atau reload tab terlebihh dahulu. |
@@ -0,0 +1 @@ | |||
node_modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.env jangan lupa di ignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
siap mas
@@ -0,0 +1 @@ | |||
{"access_token":"ya29.Il99BzwCUaDasHDWCAwfzLGnOoueN61AK01iK85jfI4l5DihxN-tNmDFOAiateG2sxuzKdjIOQwYiaB8x5V7xrCgxgON60WVYlHjM_n-QMyoo6l5u6XzPu_mpO6df4OojQ","refresh_token":"1/o80NzXRfevGpC6qmz9NF3psxBKcMxKgwuRLC0Gym5hs","scope":"https://www.googleapis.com/auth/calendar","token_type":"Bearer","expiry_date":1567960858614} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ini apa ya?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
itu dari calendar api deh kayake mas. setiap ngakses calendar api kaya butuh access token gitu. makanya disimpan di token.json
# fancy-todo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jika ini untuk API Documentation Server, sebaiknya di folder server saja
server/app.js
Outdated
const app = express(); | ||
const PORT = process.env.PORT || 3000; | ||
|
||
mongoose.connect('mongodb://localhost/fancy-todo', {useNewUrlParser: true}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
untuk uri ini sebaiknya dibuat dalam variable, sehingga mempermudah proses production kedepannya
Jika ada perbaikan dan deploy, slack ke instructor yaa |
siap mas.. thanks saran-sarannya.. |
No description provided.