Skip to content

pseudobabble/versioned-pastebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versioned Pastebin

Packages Used:

  • Flask
  • SQLAlchemy
  • Flask-RESTful
  • Marshmallow
  • pseudobabble/repository

Usage

git clone [this-repo]
cd [this-repo]
virtualenv --python=/usr/bin/python3.6 venv
source venv/bin/activate
pip install -r requirements.txt
python app.py
curl 127.0.0.1:5000/documents/first-title -d '{"content": "foo"}'  -H 'Content-Type: application/json'
curl 127.0.0.1:5000/documents/first-title
curl 127.0.0.1:5000/documents/first-title/2020-01-01-01:01:01
curl 127.0.0.1:5000/documents/first-title/latest

About

An implementation of a versioned pastebin api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages