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 0e25a39f08
continuous-integration/drone Build is passing Details
continuous-integration/drone/promote/production Build is passing Details
drone: allow promoted builds
1 year ago
app Add real-time collab controller for markdown 3 years ago
config #4 - add support for sharing pages publicly, without login 3 years ago
deploy Add kubernetes deployment specs 2 years ago
flaps Big Bang 4 years ago
uploads Big Bang 4 years ago
.drone.yml drone: allow promoted builds 1 year ago
.gitignore Enable file uploader component 4 years ago
BUILD.txt Update gitignore, add build info 4 years ago
Dockerfile Add kubernetes deployment specs 2 years ago
LICENSE Big Bang 4 years ago
README.md Add yarn info to README 3 years ago
Units.flitter.js Start real-time collaboration for wysiwyg; flitter sockets 3 years ago
azure-pipelines.yml Update azure-pipelines.yml for Azure Pipelines 4 years ago
docker-compose.yml Big Bang 4 years ago
docker.env Big Bang 4 years ago
example.env Add development info to README 3 years ago
flaps.json Big Bang 4 years ago
flitter Big Bang 4 years ago
index.js Big Bang 4 years ago
package.json Add kubernetes deployment specs 2 years ago
tag.txt tag 3 years ago
yarn.lock Update libflitter 3 years 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