old_contents: from test_util import *
  from util import *
  
  def start_server():
  	prepare_db()
  
  	testing_app = app.create(index="test.html", locator=test_locator)
  
  	@create_module(testing_app.api)
  	def test_module_2():
  		return {"get": lambda req: "Hello"}
  
  	@create_module(testing_app.api)
  	def test_module_3():
  		return {"get": lambda req, id: "Hello again, {0}".format(id)}
  
  	testing_app.run(host="localhost", port=5555, debug=True, use_reloader=False)
  
  if __name__ == "__main__":
  	start_server()
  
new_contents: from wutu import Wutu
  from wutu.test_util import prepare_db
  
  
  def start_server():
  	prepare_db()
  
  	app = Wutu(index="test.html")
  
  	@app.create_module
  	def test_module_2():
  		return {"get": lambda req: "Hello"}
  
  	@app.create_module
  	def test_module_3():
  		return {"get": lambda req, id: "Hello again, {0}".format(id)}
  
  	app.run(host="localhost", port=5555, debug=True, use_reloader=False)
  
  if __name__ == "__main__":
  	start_server()
  
subject: Use new API