API to store and retrieve confidential development files (configuration, credentials)
All routes return Json
- GET
/: Root route shows if Web API is running - GET
api/v1/accounts/[username]: Get account details - POST
api/v1/accounts: Create a new account - GET
api/v1/projects/[proj_id]/documents/[doc_id]: Get a document - GET
api/v1/projects/[proj_id]/documents: Get list of documents for project - POST
api/v1/projects/[proj_id]/documents: Upload document for a project - GET
api/v1/projects/[proj_]: Get information about a project - GET
api/v1/projects: Get list of all projects - POST
api/v1/projects: Create new project
Install this API by cloning the relevant branch and use bundler to install specified gems from Gemfile.lock:
bundle installSetup development database once:
rake db:migrateSetup test database once:
RACK_ENV=test rake db:migrateRun the test specification script in Rakefile:
rake specAdd fake data to the development database to work on this project:
rake db:seedLaunch the API using:
rake run:devBefore submitting pull requests, please check if specs, style, and dependency audits pass (will need to be online to update dependency database):
rake release?Setup test database once:
RACK_ENV=test rake db:migrateRun the test specification script in Rakefile:
rake specAdd fake data to the development database to work on this project:
rake db:seedLaunch the API using:
rackupBefore submitting pull requests, please check if specs, style, and dependency audits pass (will need to be online to update dependency database):
rake release?