the_game:基于位置的游戏原型 API

时间:2021-06-08 16:19:38
【文件属性】:
文件名称:the_game:基于位置的游戏原型 API
文件大小:65KB
文件格式:ZIP
更新时间:2021-06-08 16:19:38
CSS 游戏 要启动新的 Phoenix 应用程序: 使用mix deps.get安装依赖mix deps.get 使用mix phoenix.server启动 Phoenix 端点 现在您可以从浏览器访问localhost:4000 。 应用程序接口 人物 列出所有字符 GET /api/users/:user_id/characters 返回一个字符列表,其中 user_id == a user.key(唯一设备标识符) 示例: curl http://thegame.com/users/some_key/characters 获取一个字符 GET /api/users/:user_id/characters/:id 返回一个 id == :id 和 where user_id == a user.key(唯一设备标识符)的单个字符 查询参数:id :: 整数 示例: cur
【文件预览】:
the_game-master
----mix.exs(1015B)
----brunch-config.js(908B)
----priv()
--------repo()
--------static()
----lib()
--------the_game()
--------the_game.ex(972B)
----.travis.yml(884B)
----web()
--------views()
--------models()
--------web.ex(2KB)
--------controllers()
--------router.ex(614B)
--------templates()
--------static()
----config()
--------travis.exs(460B)
--------test.exs(465B)
--------prod.exs(2KB)
--------config.exs(839B)
--------dev.exs(992B)
----.gitignore.travis(407B)
----test()
--------views()
--------models()
--------controllers()
--------test_helper.exs(221B)
--------support()
----Procfile(95B)
----README.md(2KB)
----mix.lock(527B)
----.gitignore(596B)
----package.json(289B)

网友评论