Decoding Coding

2019 till present bucket list - learning how to code. HMTL, CSS, JS, jQuery, Bootstrap, PHP, MySQL, Ruby on Rails, JAMstack, Gatsby, Vue, Nuxt

😎 Wow... managed to show code on page using escaped HTML and copy to clipboard the unescaped HTML https://codepen.io/jasonleow/pen/dyXwWOW

Researching about nocode &/or code web scraping, proxy bots, cron jobs

Researched membership mgt/subscription and auth solutions - Memberstack, Memberspace, Memberful, Meber365, and Pico. Decided to try Pico since free for first 500 users and pricing is most competitive until 2500 users (after which Memberstack is better) - https://trypico.com/

Trying to figure out how to copy to clipboard the escaped HTML of my Vue app as displayed in the DOM (yes, WITH all the tags and divs)

Moving out of browsing just Vue repos to all the cool shit that's done on Codepen using just CSS, or vanilla JS. I think as I like coding more and more, the fear that comes with looking at and playing with other langs/frameworks decreases too

Made a demo to show a responsive header nav bar and scroll-to-top floating button on Carrd sites - https://navbar.carrd.co/

Researched and learned about Strapi - popular as a headless CMS but more importantly you can create a RESTful or GraphQL APIs in minutes!😱 Just WYSIWYG click type drag drop and your data structure and content can be up in minutes, and you can view the API in json in browser, set up access control without wrangling with JWTs and stuff... WTF man. Did I just WASTE weeks of learning how to develop my API using Rails when I could have done it in hours using Strapi (or any other headless cms solutions out there like Contentful)???!!! And did you know it's open source and FREE?? 😡😭

Jason Leow Author

Yeah I guess…knowledge that I can now do things a different, faster way 😜

0 Likes
Carl Poppa 🛸

You acquired knowledge. It's never wasted :)

0 Likes

Helped out a Carrd user with adding a responsive nav bar, and accordion dropdown faqs to his Carrd site. Learned about css flex today! Always a noob moment when

More research and planning on using Rails or JAMstack for blogging engine

Auth, payment, gated content: Researched on Netlify Identity, vs Memberstack/Memberspace for more no-code convenience

Discovered you can use env variables in Netlify! Researching and reading up about it. Slightly confused though - it kept saying the secret key will show up on the browser console anyway...so how does that keep it secret??!!

Read up about json apis and best practices in format https://jsonapi.org/format/

🤪 F**K YEAAAHHH! Finally solved it after a day - JSON data not displaying after initial deployment on Heroku. Had to use `heroku pg:reset` and `heroku pg:push` from local dev db to heroku remote db. Hell I have a headache now 🤕 but at least I have a production Rails JSON API in return - https://railsapi-booklist.herokuapp.com/books

Learned to deploy my Rails API on Heroku but the json data is not showing up in production...why??? - https://railsapi-booklist.herokuapp.com/books

Implemented Netlify Build Plugins for one of my sites - love it. Hope the ecosystem grows!

Researched and played around with DataTables.net, trying to figure out how to default sort in descending order for datetimes... How difficult can this be for how simple a thing!

Made my first Rails page!

Jason Leow Author

thanks thanks

0 Likes
Fajar Siddiq

yeayyy!!!!!!!!!!!!!!! well done

0 Likes

Plan for learning my way towards my first web app (via Ruby on Rails)