8000 GitHub - clocklear/doctopus: Apply some order to the chaos that is your paper documents
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 22, 2019. It is now read-only.

clocklear/doctopus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doctopus

Apply some order to the chaos that is your paper documents

getting started with doctopus server (with development)

Start doctopus server with npm run start. You'll also need an accessible redis server (docker is your friend, docker run redis -p 6379:6379). The doctopus server will bind to 0.0.0.0:3000. The application is intended to function as a SPA; as such, most of the server functionality is exposed via API endpoints.

authentication

You'll need admin credentials for most endpoints. You can set your credentials by running npm run createadmin and following the prompts. After you create an admin, you can login with a POST /api/user/login with the following payload:

{
  "username": "admin",
  "password": "mypassword
}

This will provide a cookie that will need to provided on all subsequent (authenticated) API requests; otherwise you'll get 401s.

server supported api

Still trying to determine the best way to write this up. Have a look in /server/api for ideas.

About

Apply some order to the chaos that is your paper documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0