itforge-eros / soa2019-group5 Goto Github PK
View Code? Open in Web Editor NEWA note-taking application with voice recording
Home Page: https://lectio.itforge.io
License: MIT License
A note-taking application with voice recording
Home Page: https://lectio.itforge.io
License: MIT License
api.lectio.itforge.io
is using the Same Origin policy, hence the following error
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.lectio.itforge.io/memos/1556803406100. (Reason: CORS request did not succeed).
Current flow (not yet implemented on PWA):
Proposed flow:
https://asia-northeast1-kavinvin-211411.cloudfunctions.net
, allow localhost:3000
origin in CORS. I know this is not a safe way in production but as the deadline approaches, I want to make it just work ASAP. Or you guys could create a new endpoint in api.lectio.itforge.io
that will forward the login credentials to the mentioned host, for security reasons.Currently, the transcript of a current note is displayed for TESTING purpose. We need to send that transcript to the server, get a summary, and then display it.
A POST request to http://lectio.itforge.io/api/memos
(to create a new memo) returns 404 page not found
response.
Authentication (Bearer eyxxxxxxxxxx
) with a valid token (from logging in) exists in request header.
Expected behaviour: a memo is created and 201 Created
response is returned.
The current schema for Memo.tags
is
"tags": [
name: string
]
Proposed enhancement to reflect the schema used in PWA:
"tags": [
{ id: string, name: string }
]
For example:
"tags": [
{ id: "computer-science", name: "Computer Science" }
]
ใน jest ใส่ --coverage ด้วย
Maybe @kavinvin is responsible for this (?)
When creating a new memo, the server returns Location
header as /api/memos/a9a995f0-3092-4e43-ada1-f7a31eec8127
whereas the current API host is api.lectio.itforge.io
(no more /api
).
Should Location
header be updated to be something like /memos/a9a995f0-3092-4e43-ada1-f7a31eec8127
?
Some client API's (e.g. microphone access) require PWA to be served through HTTPS. It is. The problem is that when serving a page through HTTPS, every resource loaded to that page must also be served through HTTPS.
Please enable HTTPS on the API side (api.lectio.itforge.io
).
The component will be used as a list item for displaying a single memo's details.
Tags
mapping with partial search
ไม่มีการอธิบายวิธีการ run และทดสอบ
The current endpoint doesn't accept memo body. This creates an unnecessary overhead on the client: create an empty memo first, wait for its ID and then send another request to update it.
POST
request on /memos
should accept memo body.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.