This is the code that runs on the Tiny Stripz server. It is for the new Tiny Stripz website and Tiny Stripz API (which is not currently available).
- To run, first run
npm installto install dependences. - If you want to run the API, type
npm run api. - To download comics from a JSON file from the Blogger v3 API stored locally, type
npm run down. (Warning: VERY messy code. Must fix.)
apiThe APIcontrollersControllers for APIstyle.cssTiny Stripz API homepage stylesheetindex.htmlTiny Stripz API homepageAuthController.jsAPI controller for authenticationComicController.jsAPI controller for creating/getting comicsconfig.jsGets JWT secretsFileController.jsAPI controller for getting comicskeys.jsMongoDB API keys
modelsMongoDB database modelsComic.jsModel for individual comicsUser.jsModel for database admins
publicPublic static resourcescomicsComics folder
api-download.jsDownloads and processes all comics tocomics.jsonfromposts.jsonapi-process.jsProcesses a JSON object from the Blogger v3 API to a Tiny Stripz comic JSON objectmain.jsServer scriptroutes.jsRouter: routes paths to a controllerauth.jsonAuthorization file, contains API requests and keyscomics.jsonContains a JSON array of all comics from 1 to 234posts.jsonBlogger v3 API returned this JSON object to parse forapi-download.json
docsThe Tiny Stripz websitecssStylesheets (.css) for the websitenormalize.cssBrowser compatibility stylesheetindex.cssStylesheet forindex.htmlindex-grid.cssHandles positioning elements inindex.htmlpages.cssStylesheet for pages other thanindex.htmlpages-grid.cssHandles positioning elements for pages other thanindex.htmlstyle.cssStylesheet for all pages
pagesWebpages (.html), except forindex.htmlabout.htmlAbout the webcomiccontact.htmlSocial media and email
imagesImage resources for the websitescriptsScripts (.js) for the websiteindex.jsScript forindex.html
index.htmlHomepageCNAMECNAME domain name record
LICENSEThe LICENSE - Mozilla Public License 2.0TODOA todo list to quickly keep track of issues.gitignoregitignore filepackage.jsonThe NPMpackage.jsonfilepackage-lock.jsonThe NPMpackage-lock.jsonfileNOTICE.mdNOTICE fileREADME.mdREADME file
See more in NOTICE