imtumbleweed / primary

36 stars 42 forks source link

Just For Reading -- Vanilla Project Architecture (so far) #3

Open imtumbleweed opened 5 years ago

imtumbleweed commented 5 years ago

image

There really are 3 main files: api.js, index.js, and index.html

index.js and api.js do basically same thing - index.js is just the scaffold we never have to change much, but all the functions are in api.js

so its in api.js that all main work will happen

the rest is just part of a set pattern if that makes sense

index.html is our front-end -- there is no router at the moment but that's ok

we just want to make all end points done and tested via index.html

only then move on to building out the UI