Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Hello Domains, the Hello World for the DNSimple API, implemented with Ruby & Hanami

Notifications You must be signed in to change notification settings

dnsimple/hello-domains-hanami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Domains with Hanami

This is a full working example project to create a DNSimple addon with Hanami.

Prerequisites

The OAuth Application has a Client ID and a Client Secret that you should use to setup this project.

Setup

To setup this project, please use the following commands:

➜ git clone https://github.com/dnsimple/hello-domains-hanami.git
➜ cd hello-domains-hanami
➜ ./bin/setup [DNSIMPLE_CLIENT_ID] [DNSIMPLE_CLIENT_SECRET]
➜ bundle exec hanami server # visit http://localhost:2300

Development

By default, Hello Domains targets DNSimple Sandbox. If you need, for development purposes, to interact with a different DNSimple stage, please edit the following env vars in .env.development

  • DNSIMPLE_BASE_URL
  • DNSIMPLE_AUTHORIZE_URL
  • DNSIMPLE_TOKEN_URL

Testing

To run the tests please run:

➜ bundle exec rake

Copyright

Copyright (c) 2017 Aetrion LLC.

About

Hello Domains, the Hello World for the DNSimple API, implemented with Ruby & Hanami

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published