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.
|
2 years ago | |
---|---|---|
app | 3 years ago | |
config | 4 years ago | |
deploy | 2 years ago | |
flaps | 5 years ago | |
uploads | 5 years ago | |
.drone.yml | 2 years ago | |
.gitignore | 5 years ago | |
BUILD.txt | 5 years ago | |
Dockerfile | 2 years ago | |
LICENSE | 5 years ago | |
README.md | 3 years ago | |
Units.flitter.js | 4 years ago | |
azure-pipelines.yml | 5 years ago | |
docker-compose.yml | 5 years ago | |
docker.env | 5 years ago | |
example.env | 3 years ago | |
flaps.json | 5 years ago | |
flitter | 5 years ago | |
index.js | 5 years ago | |
package.json | 2 years ago | |
tag.txt | 4 years ago | |
yarn.lock | 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
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