Share your suggestions to refine these updates.
The source code is hosted on GitHub - https://github.com/ajitsinghkaler/devto-clone
A live build is available on Firebase - https://dev-toclone.firebaseapp.com/
In the previous week, I looked into how authentication and account creation could be integrated into this project, but that direction did not pan out—OAuth2 remains in private alpha. I also attempted to use api_key headers with local storage, but the API rejects those calls from the browser, even though the same approach succeeds in Postman. If those requests had worked, I would have stored the key in local storage and removed it upon logout. With that avenue closed, what remains in the project is limited:
Adding tests
A tags page
General cleanup
Realizing that post-related features would not be possible in the app left me feeling somewhat discouraged, which is why no update was published last week.
This week, I did manage to add a user details page and the dropdown that appears at the top of the header. The user details page was straightforward to build, since the API exposes very little user data and does not offer a sign-in flow. There was one architectural tweak: the article component originated in the home module, but it was also needed in the user module, so I extracted it into a single component module, otherwise known as SCAM. The relevant code can be seen here.
Most of the functionality in the dev.to clone is now complete. The next steps are to add tags and finalize the application.
Open item
Commits
Since learning is the goal here, feel free to propose any interesting experiments you would like to see applied to this repo.
