memgraph/api/test.cpp

20 lines
284 B
C++
Raw Normal View History

2015-10-08 00:45:30 +08:00
#include <iostream>
#include "speedy/speedy.hpp"
#include "resources/include.hpp"
2015-10-08 00:45:30 +08:00
int main(void)
{
uv::UvLoop loop;
speedy::Speedy app(loop);
init(app);
2015-10-08 00:45:30 +08:00
http::Ipv4 ip("0.0.0.0", 3400);
app.listen(ip);
loop.run(uv::UvLoop::Mode::Default);
return 0;
}