How can I create an application for a testing environment?


In my development environment my website URL is http://localhost:8080 and my callback url is http://localhost:8080/auth/twitter/callback.
How can I create an app with this settings? Is there a way to test the twitter-login from localhost? Its not possible to push my code in the production environment and test it there.

Thanks for help.