Starting on working bookmarks api

This commit is contained in:
2022-06-27 09:01:36 -05:00
parent 4c37658cd8
commit 6fe79a1892
13 changed files with 652 additions and 58 deletions

View File

@@ -19,6 +19,16 @@ function Home() {
Once you have logged in you should be able to click in{" "}
<i>Profile</i> and <i>Logout</i>
</p>
<p>
<form method="POST" action="/api/bookmarks">
<label for="title">title: </label>
<input type="text" name="title"/>
<br />
<label for="url">url:</label>
<input type="text" name="url"/>
<button type="submit">Add bookmark</button>
</form>
</p>
</>
)}