Skip to content

KarmaComputing/copywriter-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Store edited landing pages

As a copywriter, the edits I make to a site are stored somehwere, so then I can preview the changes made to the document.

As an engineer, every save a copywriter performs, causes a HTTP POST request to store the entire DOM of the page they have edited, with a timestamp, so that the edits may be stored, and viewed in the future.

Future: Use mutationobserver to record an playback changes.

Ref https://github.com/KarmaComputing/copyeditor

Run locally

cargo install cargo-watch
cargo watch -x run

Container build /run

Build

docker build --tag copywriter .

Run

docker run -p 8080:8080 -v $PWD/output:/app/output copywriter

Smoketest

curl -X POST -v http://127.0.0.1:8089/echo -d "hello"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published