You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Garrett Mills 3406e1c4cb
Add yarn info to README
2 months ago
app Add real-time collab controller for markdown 6 months ago
config #4 - add support for sharing pages publicly, without login 8 months ago
flaps Big Bang 2 years ago
uploads Big Bang 2 years ago
.drone.yml Update .drone.yml to restart correct service on prod deploy (#10) 1 year ago
.gitignore Enable file uploader component 2 years ago
BUILD.txt Update gitignore, add build info 2 years ago
LICENSE Big Bang 2 years ago
README.md Add yarn info to README 2 months ago
Units.flitter.js Start real-time collaboration for wysiwyg; flitter sockets 10 months ago
azure-pipelines.yml Update azure-pipelines.yml for Azure Pipelines 2 years ago
docker-compose.yml Big Bang 2 years ago
docker.env Big Bang 2 years ago
example.env Add development info to README 2 months ago
flaps.json Big Bang 2 years ago
flitter Big Bang 2 years ago
index.js Big Bang 2 years ago
package.json Update libflitter 6 months ago
tag.txt tag 8 months ago
yarn.lock Update libflitter 6 months ago

README.md

noded/backend

Requirements to develop

  • Node.js 14.x
  • MongoDB 4.x
  • Yarn package manager (version 1.x)

Setting up develop

  • Clone this repo
  • Run yarn install
  • Copy example.env to .env
  • Edit .env
    • Change LOGGING_LEVEL to 7
    • Change database information, if necessary
    • Change ENVIRONMENT to development
    • Change UPLOAD_DEFAULT_STORE to flitter
      • You can leave this as s3 if you specify an S3-compatible API and credentials.
  • Make sure Flitter can start using ./flitter test

Basics

  • Run node index.js to start the main server.
    • I like to use nodemon to auto-reload when files change.
  • To access the shell for debugging & testing, run:
    • node --experimental-repl-await flitter shell