vrintle
September 16, 2020, 3:24am
1
Project URL: https://solonotes.glitch.me
This is basically a simple app to keep notes online. But, unlike most of the server apps on glitch, it never goes on sleep. Yes, you heard it right, it’s always awaken!!
How?
So, basically there is a workaround for this process. I have TWO apps. One is a complete back-end, and another is complete front-end (which is this one). The back-end has a REST API which serves the data to the SoloNotes, whenever SoloNotes wakes it up! Simple.
Dependencies:
How it works?
Just enter in your name and a passcode (both never saved, just used for accessing private notes), and then click LOAD NOTES , which will load your notes (if you have saved them earlier).
After that, click on + button to create a new note.
When you’re done, click on SAVE to save your note!
Any UI design / ideas are welcomed. I’ll be happy to hear any feedback from you
6 Likes
Golly, amazing UI and use of databases
3 Likes
Absolutely amazing!
Suggestion: option to delete notes?
4 Likes
vrintle
September 16, 2020, 8:59am
6
@Pufferfish101007 updated!
Added delete option + new UI changes
Very neat idea! Thank you!
5 Likes
Agreed! It’s simple yet really cool. It would be even nicer if it was installable, like a PWA.
5 Likes
API would be really cool too.
6 Likes
vrintle
September 16, 2020, 12:49pm
11
@khalby786 thanks for your compliment.
Well, I didn’t learnt pwa yet, as it is limited to chrome users only.
Wait what? You mean there are other things which are installable, except a pwa?
@RiversideRocks I’m glad to be helpful!
Also, what kind of API do u need? The one which serves notes of a specific user?
3 Likes
That’s incorrect, PWAs work on almost all browsers. (Definitely not Safari )
Kinda, but they are a bit more complex and won’t actually suit this app. Example: Electron.
2 Likes
I suppose there could be an endpoint for viewing notes of your account and an endpoint to make new notes.
Maybe POST /newnote
2 Likes
vrintle
September 16, 2020, 1:36pm
15
@khalby786 Thanks for informing, I dunno why I assumed otherwise.
@RiversideRocks Both are simple, but with my insecure start, it would need some modification.
By insecure, I mean the current endpoints, which are passing sensitive data over get method.
So, I could:
• make this a pwa
• add some secure API
1 Like
One of the best uses of Materilize so far, you could add offline support through https://github.hubspot.com/offline/docs/welcome/
2 Likes
omg this seems really cool is this on github?
2 Likes
vrintle
September 16, 2020, 5:36pm
18
@javaarchive thanks for your compliment. I’ll look into the library, it seems useful.
@themagiclavalamp thanks and welcome to Glitch community!
I think it should be on github, but if you want to look up the code, you can go to: https://glitch.com/edit/#!/solonotes
You can export to github glitch projects
I sense typo…
Edit: This was for the solodb.glitch.me link.
2 Likes
vrintle
September 17, 2020, 2:15am
21
@CarlyRaeJepsenStan It’s not a typo actually, if you’ll visit solodb, you’ll find the only line in it’s client-side script,
location.protocol = 'https' + location.href[4];
Basically, this is a one-liner to make the site “SSL secured”.
It works on every browser except Opera, I guess.
1 Like