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.
|
6 months ago | |
---|---|---|
app | 2 years ago | |
config | 2 years ago | |
deploy | 11 months ago | |
flaps | 3 years ago | |
uploads | 3 years ago | |
.drone.yml | 6 months ago | |
.gitignore | 3 years ago | |
BUILD.txt | 3 years ago | |
Dockerfile | 11 months ago | |
LICENSE | 3 years ago | |
README.md | 2 years ago | |
Units.flitter.js | 2 years ago | |
azure-pipelines.yml | 3 years ago | |
docker-compose.yml | 3 years ago | |
docker.env | 3 years ago | |
example.env | 2 years ago | |
flaps.json | 3 years ago | |
flitter | 3 years ago | |
index.js | 3 years ago | |
package.json | 11 months ago | |
tag.txt | 2 years ago | |
yarn.lock | 2 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
to7
- Change database information, if necessary
- Change
ENVIRONMENT
todevelopment
- Change
UPLOAD_DEFAULT_STORE
toflitter
- You can leave this as
s3
if 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.js
to start the main server.- I like to use
nodemon
to auto-reload when files change.
- I like to use
- To access the shell for debugging & testing, run:
node --experimental-repl-await flitter shell