Makerlogby@basilesamel

15 posts2,512 words

My daily results as a maker

Sep 6, 2020

Maker Logs - Day 663

September 5, 2020 Cowriters * Stripe - implement redirectToCheckout Implemented the form and the backend logic to redirect an user to Stripe's payment interface. * Stripe - a user can subscribe to the patron plan Finished stripe checkout's integration. A user can now buy the patron plan. Cli...

190 words

Sep 5, 2020

Maker Logs - Day 662

September 4, 2020 Cowriters * Collection page - Each collection has its own webpage Migrated the PHP logic of the collection page to NodeJS. Each collection has its own profile with a paginated grid of its published articles. * Added email service to send emails Installed and configured AWS ...

147 words

Sep 4, 2020

Maker Logs - Day 661

September 3, 2020 Cowriters * Article page - Each published article has its own webpage Migrated the article page's basic logic from PHP to NodeJS. A user can now read articles. * Redirect /words/:slug to just /:slug Much nicer looking. * Profile page - Each member has its own webpage to di...

93 words

Sep 3, 2020

Maker Logs - Day 660

September 2, 2020 New Cowriters * Collection page - display texts for a given collection Migrated the PHP logic (route controller, search service, search API endpoint) to NodeJS so that I can display the texts belonging to a given collection in the dashboard. * Collection page - added text pagi...

96 words

Sep 2, 2020

Maker Logs - Day 659

Cowriters * Fixed bugs in the registration process (Recaptcha not working) and in the dashboard page (pagination not correctly calculated). * Text editor - A user can publish an article. Ported the publishing logic from PHP to NodeJS. It's still not complete (no tags or collections), but a user...

82 words

Sep 1, 2020

Maker Logs - Day 658

August 31, 2020 Cowriters * Added search feature to Homepage A user can now search for articles by keyword from within the homepage. The search function is debounced and uses full-text MySQL search indexes for increased speed. Each search match is highlighted. * Migrated the registration page t...

145 words

Aug 31, 2020

Maker Logs - Day 657

Cowriters * Homepage - Switched the design layout to a full grid one. How to make community content stand out without favoring one member over another? How to display a variety of information without overwhelming the user or without a side panel? How to make the design more intuitive to navigate...

199 words

Aug 30, 2020

Maker Logs - Day 655/656

Saturday * Rewrote the TextVersion/User services with KnexJS. I was writing raw MySQL queries so far but they are getting too complex to manage. I don't want to use an ORM to perform optimal requests, so I decided to use a query builder suggested by a member of Cowriters instead. I'm rewriting ...

208 words

Aug 28, 2020

Maker Logs - Day 654

August 27, 2020 Cowriters * I rewrote the scripts of the data migration process. It now takes less than 30 minutes to perform and it's easier to recover from an error midway thanks to a data staging process * I rewrote my database initialization script with the KnexJS library. It's a query builder...

98 words

Aug 27, 2020

Maker Logs - Day 653

Cowriters * I migrated the PHP logic of the text editor (models, controllers) to NodeJS and rewrote the React components to use React Hooks instead of the traditional Oriented-Object Programming design. It makes the code easier to read and build upon. * I had to rewrite the debounced autosave feat...

210 words

Aug 26, 2020

Maker Logs - Day 652

The day started with some work on Cowriters' new user dashboard: 1. I fixed the pagination of the articles and drafts. 2. I added URL routes to directly filter texts by publication status (draft, published, or scheduled) 3. I fixed the Delete A Text button I then set up Amazon's Simple Email Ser...

288 words

Aug 25, 2020

Maker Logs - Day 651

* I finished summarizing Everybody Writes and published it to Sipreads. * I spent an hour going to the mall to buy headphones and a USB hub because my earphones broke. * I worked on Cowriters' dashboard. The drafts and articles are requested by an asynchronous API call on the client-side, which d...

216 words

Aug 24, 2020

Maker Logs - Day 650

Sunday, August 23. I started summarizing the book Everybody Writes by Ann Handley for Sipreads. I did half of the book and left some for the next day. I then wrote 480 words about using the IndexedDB API to improve an app's user experience. It served me as a support to research and design the offlin...

152 words

Aug 23, 2020

Maker Logs - Day 649

I started the day writing about how I plan to use my Makerlog entries to write a second daily blog post. It will not only help me write more, but also better communicate what I'm doing to my users. I then kept working on the new Cowriters web app. I finished working on the homepage design and moved ...

245 words

Aug 22, 2020

Day 648 at Makerlog

I finished reading the book "Everybody Writes" for @sipreads, it's time to summarize and publish the result on Monday. I wrote a post about why I worked on reaching a one second page speed for cowriters' new homepage. I spent the rest of the day redesigning the way posts are loaded on the homepage f...

143 words