|
All checks were successful
continuous-integration/drone/push Build is passing
|
||
|---|---|---|
| app | ||
| config | ||
| flaps | ||
| uploads | ||
| .drone.yml | ||
| .gitignore | ||
| azure-pipelines.yml | ||
| BUILD.txt | ||
| docker-compose.yml | ||
| docker.env | ||
| example.env | ||
| flaps.json | ||
| flitter | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tag.txt | ||
| Units.flitter.js | ||
| yarn.lock | ||
noded/backend
Requirements to develop
- Node.js 14.x
- MongoDB 4.x
Setting up develop
- Clone this repo
- Copy
example.envto.env - Edit
.env- Change
LOGGING_LEVELto7 - Change database information, if necessary
- Change
ENVIRONMENTtodevelopment - Change
UPLOAD_DEFAULT_STOREtoflitter- You can leave this as
s3if you specify an S3-compatible API and credentials.
- You can leave this as
- Change
- Make sure Flitter can start using
./flitter test
Basics
- Run
node index.jsto start the main server.- I like to use
nodemonto auto-reload when files change.
- I like to use
- To access the shell for debugging & testing, run:
node --experimental-repl-await flitter shell