Henarivan Andhika Abhirama#27
Open
henarivanaa wants to merge 33 commits into
Open
Conversation
…erta authorization
…ojectUser sebagai conjunctionnya
…v, addTodo form div, and todos div 2. adding a signup form jquery for a show and hide system 3. adding button for register and login instead 4. Tidying up the UserController file, TodoController file, and userRoutes file 5. Creating env-templates file with the environment variables
2. Creating an editTodo function in ajax.js 3. Creating an editTodoForm div in index.html
…r and TodoController 2. Updating and adding the validation on Todo and User model
Sursev07
reviewed
Mar 9, 2020
| } | ||
|
|
||
| const checkProjectTodo = (projectId, todoId, todo, status) => { | ||
| console.log(todo) |
| <h3>Sign In</h3> | ||
| <div class="form-group"> | ||
| <label>Email address</label> | ||
| <input type="email" class="form-control" id="email-login"> |
There was a problem hiding this comment.
validasi required yah, atau di fjs function nya
|
|
||
|
|
||
| if (localStorage.getItem("token") !== null) { | ||
| $(document).ready(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Environment Variable:
PORT=3000
DB_USERNAME=henarivanaa
DB_PASSWORD=wakwaw
JWT_SECRET=wadidaw
CLIENT_ID=385899667070-old78euempf7bfveturipfffc4ijvdip.apps.googleusercontent.com
CLIENT_SECRET=tLWdeJVWz43GxDa6zCYywINU
Fitur tambahan: integrasi CRUD todos user dengan google calendar
Kendala:
Untuk google calendar, masih menggunakan 1 akun gmail. Jadi misalnya menggunakan akun saya (henarivanaa@gmail.com), todo user akan tercatat sebagai event baru di google calendar tapi hanya di akun henarivanaa@gmail.com. Masih butuh waktu buat explore sama nyoba - nyoba nya mbak :D
(edit)
client run di http://localhost:8080, kalo live server kan jadi 127.0.0.1:8080, harus diganti localhost:8080 baru bisa google sign in nya.