Day 641 - In asking a question, your answer is already half answered https://cowriters.app/words/in-asking-a-question-your-answer-is-already-half-answered-449005f56372f358f7
Conceptual learning about how to secure my Rails API - http basic auth / token access / JWT / OAuth / JWT-Devise ??? So many options! π± I need a comparison table
Jason Leow
Author
Good question! I came to this realisation too as I was thinking abt which to use. At the moment, I just want to create an API for myself to use, so might not need devise
Day 640 - Weekend tech reviews https://cowriters.app/words/weekend-tech-reviews-448535f54e4a71b4bb
How have I not discovered @glitch before!? π€©π Itβs like github but with unicorns and rainbows!! π§π»βπ»π¦π Such a fun and delightful experience just browsing and drinking in all that code inspo! Live collaborative coding, no deployment setup needed (goes live instantly with own URL), fork any app or use starters of popular JS frameworks (Hello Vue, Nuxt!) - WOW π€©π€©π€©
Learned about hiding API keys via this Youtube tutorial with a really engaging trainer! (https://www.youtube.com/watch?v=17UVejOw3zA) - install dotenv gem, created .env and .gitignore files, learned how to not accidentally upload API keys into Github
Tested GET, POST, PUT, DELETE requests on my Rails REST API using Insomnia, works beautifully now! And using TablePlus, I can see the changes in my postgresql database immediately (instead of via terminal - which I now upgraded to Hyper)! All awesome tools π€©π€©π€©
Downloaded and practised using TablePlus (a GUI for Postgresql databases) and Insomnia (an API testing app)
Note to self: NEVER EVER copy and paste code over from a website ever again. Look at all the weird characters (red dots) that got copied over without my knowledge ('thanks' Sublime Text), and made me spend a whole day debugging π€¬ Gonna check out VSCode with auto flagging to save my sanity
Created a to-do REST API using Rails https://github.com/jasonleow/todolist-restapi by following this tutorial https://codebrains.io/build-todolist-rest-api-ruby-rails/
Day 639 - What are the 1-2 things that if you get them done today, you'll go to bed content? https://cowriters.app/words/what-are-the-1-2-things-that-if-you-get-them-done-today-you-ll-go-to-bed-content-448175f538fd249335
Day 638 - Re-creating a chatbot without code (11) https://cowriters.app/words/re-creating-a-chatbot-without-code-11-447585f5243f1100d5
Played with something fun to cool off an angry morning ( - learned about GSAP Tween web animation/micro-interactions, in Vue.js. This bounce micro-interaction looks pleasingly delicious π https://animatedaccordionfaqs.carrd.co/
π€© Collected over 200 awesome Vue pens in Codepen https://codepen.io/collection/DrqowN
Received $90 payment to Ange Bakes for 6-month ad
Trying out subtle marketing by adding it to profile names on social media (Twitter, Telegram), and it worked (1 person messaged me about it today when I just edited profile name)
πππFUCK WORDPRESSπππ Experimenting with Simply Static wp plugin to convert my wp sites to static sites. Hopefully no more attacksπ€ Will slowly transit my old wp sites out to static pages hosted on Github+Netlify
Static site is a good idea, especially if your site has no or few interactive elements. If you want to learn something new give Vue.js and VuePress a try. It's a bit of learning but a breeze to use.
Jason Leow
Author
Cool thanks for the recommend! I'm learning Vue right now, will check out Vuepress! But for the old WP sites, not worth the effort to use vue so will just convert to static files and host it somewhere..