Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Horizontal-org/tellaweb-backend-archive

Repository files navigation

Deprecated - This repository was used as a proof of concept. Current development is at https://github.com/Horizontal-org/tellaweb-nestjs

Coverage Status

Tella Web (backend)

This package contains the backend for Tella Web and is compatible with direct-upload. It allows to manage the users via command line and to run the server for http access. The server allows to use HTTPS with configurable domain and ports.

Usage

$ git clone https://github.com/Horizontal-org/tellaweb-backend.git
$ cd tellaweb-backend
$ npm install
$ ./bin/run COMMAND
running command...
$ ./bin/run (-v|--version|version)
tellaweb-backend/0.0.1 linux-x64 node-v14.15.4
$ ./bin/run --help [COMMAND]
USAGE
  $ ./bin/run COMMAND
...

Commands

tellaweb-backend about

About direct-upload and Horizontal

USAGE
  $ ./bin/run about

See code: src/commands/about.ts

tellaweb-backend auth:add

Add user authentication if doesn't already exist.

USAGE
  $ ./bin/run auth:add

OPTIONS
  -d, --db=db              [default: db]
  -f, --files=files        [default: data]
  -l, --verbose
  -u, --username=username  (required)

See code: src/commands/auth/add.ts

tellaweb-backend auth:change-password

Change user authentication. Will prompt for password

USAGE
  $ ./bin/run auth:change-password

OPTIONS
  -d, --db=db              [default: db]
  -f, --files=files        [default: data]
  -l, --verbose
  -u, --username=username  (required)

See code: src/commands/auth/change-password.ts

tellaweb-backend auth:del

Delete user authentication

USAGE
  $ ./bin/run auth:del

OPTIONS
  -d, --db=db              [default: db]
  -f, --files=files        [default: data]
  -l, --verbose
  -u, --username=username  (required)

See code: src/commands/auth/del.ts

tellaweb-backend auth:list

List usernames

USAGE
  $ ./bin/run auth:list

OPTIONS
  -d, --db=db        [default: db]
  -f, --files=files  [default: data]
  -l, --verbose

See code: src/commands/auth/list.ts

tellaweb-backend help [COMMAND]

display help for tellaweb-backend

USAGE
  $ ./bin/run help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tellaweb-backend server

Start Tella Direct Upload Server

USAGE
  $ ./bin/run server

OPTIONS
  -a, --address=address    [default: :8080] address for server to bind to
  -c, --cert=cert          certificate file, ie. ./fullcert.pem
  -d, --database=database  [default: ./direct-upload.db] direct-upload database file
  -d, --db=db              [default: db]
  -f, --files=files        [default: ./data] path where direct-upload server stores uploaded files
  -h, --help               show CLI help
  -k, --key=key            private key file, ie: ./key.pem
  -l, --verbose

See code: src/commands/server.ts

About

Backend for Tella Web

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages