Not sure why you are here, but hello ๐
ily123 / grafnote Goto Github PK
View Code? Open in Web Editor NEWFull CRUD clone of Evernote with Obsidian-inspired styling and layout.
Full CRUD clone of Evernote with Obsidian-inspired styling and layout.
Not sure why you are here, but hello ๐
Interactive elements to:
Clean up / refactor CSS and styling
For Notes table:
This is just an outline, no functionality.
CRUD endpoints for Notes
POST api/note
)DELETE api/note/:id
)PATCH api/note/:id
)GET api/note/:id
)GET /%3Canonymous%3E 404 0.885 ms - 2933
and it fails
%3Canonymous%3
coming from?user
of undefined
underfined
slice of state causes an error that crashed the app Unhandled Rejection (TypeError): response.json is not a function
submit
src/components/SignupFormPage/index.js:42
39 | try {
40 | await dispatch(signupUser(email, username, password));
41 | } catch (response) {
> 42 | const { errors } = await response.json();
| ^ 43 | console.error(errors);
44 | }
45 | };
and
Error: Rendered fewer hooks than expected. This may be caused by an accidental early return statement.
โถ 25 stack frames were collapsed.
(anonymous function)
src/store/session.js:51
48 | if (response.ok) {
49 | const { user } = await response.json();
50 | console.log(user);
> 51 | dispatch(loadUser(user));
52 | }
53 | return response;
54 | };
View compiled
async submit
src/components/SignupFormPage/index.js:40
37 | const submit = async (event) => {
38 | event.preventDefault();
39 | try {
> 40 | await dispatch(signupUser(email, username, password));
| ^ 41 | } catch (response) {
42 | const { errors } = await response.json();
43 | console.error(errors);
Course of action:
Don't really need a GET. I will include folder information with the get request to 'NOTE'.
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.