- [X] Create .gitignore - [X] Create package.json - [X] Create functions to read database - [X] Create stuff to make the website have a page - [x] Create functions to edit database - [x] Create functions to pull info from Google Drive API - [x] Get file info - [x] Make file tree of all folders to use in labeling - [x] Patch Google Drive metadata (do this on db edit) - [x] Code to automatically update local db copy - [x] Detect if patching or inserting - [x] Find way to format dates to Google's liking - [x] Make `folders` not a global variable - [x] Schedule it so it happens regularly - [ ] Security stuff - [ ] Password hashing and authentication - [ ] Add login page before entering restricted pages - [ ] Figure out how editing the password would work - [ ] Issue #2 - [x] Create basic editor structure for all editing of things - [X] User - [X] Article - [x] File - [ ] Find/create text editor for writing articles ([ZenPen](https://github.com/tholman/zenpen) could be modified to work with [this](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand)) - [ ] Add actual functionality to editors - [ ] Write function(s) to check content of forms to see if it's valid - [ ] Write function(s) to search for existing article/file/user to edit it - [ ] Write function(s) to insert info into forms if article/file/user exists - [ ] Grey out fields that aren't editable in the file editor? - [ ] Setup client pools eventually - [x] Add some dummy data to tables - [x] Use dummy data to: - [x] [Create a base for dynamic page generation](https://learnnextjs.com/basics/create-dynamic-pages) - [x] [Setup clean URLs with route masking](https://learnnextjs.com/basics/clean-urls-with-route-masking) - [x] [Setup server-side support for clean URLs](https://learnnextjs.com/basics/server-side-support-for-clean-urls) - [x] Create tables ([link](https://docs.google.com/document/d/1om9NTJXlCqBIRXgXUF59UsAqBQPg8GdkMa1iyY1p07o/edit?usp=sharing)) - [x] Files - [X] Users - [x] Articles - [ ] Eventually move the database and tables to a more official place - [ ] Look back and maybe rename columns to follow a consistent scheme
foldersnot a global variable