- CRUD:
- reading card
- adding a card
- deleting all ( not all, one is protected frontend & backend )
- delete a card [under the hood]
- updating card
i just missed the last homework, and all needed to go wrong,
gone hilariously wrong and out of hand LOL:
Note: in that project:
- I was awake for 32 hours ( 9:00 a.m. 27/05/21 - 6:00 p.m. 28:00 28/05/21 )
- i learned on the fly
- rest API,
- express back-end framework
- heroku deployments
- codebase organization
- front-end & backend debugging tools
CHALLENGE: HACK THE DEMO
-
Frontend:
- Obfs code that protect from debug attempts
- hand-made image uploader from scratch
- use of imgBB APIs
- fetching stuff with rest backend wrapper API
- it's responsive, so also media queries for the element
- HTML is clean micro templating
- the code is consistent and enough decoupled
- layout: boostrap col system mastered
- images managed as blobs but displayed with src attribute
-
Backend:
- npm packaging for dev and prod
- static files in public
- server.js as index and decoupled from routes
- credentials in .env that is in .gitignore
- strive token swapped with a decoy one
- XSS protection middleware
- 3rd party API wrapped in backend routes