Messing around:
curl https://install.meteor.com/ | sh (only needed one time to install meteor)npm install (install dependencies)npm run dev which starts tailwind JIT watcher and meteor together.meteorite P: passwordejolly P: testmeteor shell in another terminal after npm run devmeteor mongo to launch mongodb cli/shellmeteor reset after shutting down the server. This will reset app data to a fresh clone.originally created from meteor svelte scaffold
├── client (1)
│ ├── main.html
│ ├── main.js
│ └── output.css
├── imports
│ ├── api (2)
│ │ ├── messagesMethods.js
│ │ ├── messagesPublications.js
│ │ ├── userMethods.js
│ │ └── userPublications.js
│ ├── db (3)
│ │ └── MessagesCollection.js
│ └── ui (4)
│ ├── App.svelte (5)
│ ├── LoginForm.svelte
│ ├── chatui
│ │ ├── ChatUI.svelte
│ │ ├── Input.svelte
│ │ ├── Message.svelte
│ │ ├── MessageList.svelte
│ │ └── ProfileHeader.svelte
│ └── main.css
├── package-lock.json
├── package.json
├── server
│ └── main.js (6)
└── tailwind.config.js
main.{html, js} and output.css is generated by tailwind (even during development).db.find() even with no filters/queries it restricts the results they get. The convention from the scaffold is a DBNAMEPublications.js for the publication code and DBNAMEMethods.js for defining server-side methods to interact with that database. Can probably just put both in a single file to keep things simpler. We need server-side methods because clients can never write to any database directly. They must always use Meteor.call('someServerMethod', args) and someServerMethod should do the actualy database writingchatui in this project) it can be helpful to split things up and organize them as needed. But everything needs to eventually get imported into this component so it can run.express.js server file, except you never need to actually create the server. Really it's for all the stuff that needs to happen before or alongside server startup. For example: