├── .babelrc ├── .gitignore ├── README.md ├── app ├── api │ ├── author.js │ └── post.js └── public │ └── index.html ├── config └── config.json ├── models ├── author.js ├── index.js └── post.js ├── package.json ├── project_hierarchy.png ├── schema.odp ├── schema_restapiNode.png └── server.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["env", "stage-3"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/README.md -------------------------------------------------------------------------------- /app/api/author.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/app/api/author.js -------------------------------------------------------------------------------- /app/api/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/app/api/post.js -------------------------------------------------------------------------------- /app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/app/public/index.html -------------------------------------------------------------------------------- /config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/config/config.json -------------------------------------------------------------------------------- /models/author.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/models/author.js -------------------------------------------------------------------------------- /models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/models/index.js -------------------------------------------------------------------------------- /models/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/models/post.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/package.json -------------------------------------------------------------------------------- /project_hierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/project_hierarchy.png -------------------------------------------------------------------------------- /schema.odp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/schema.odp -------------------------------------------------------------------------------- /schema_restapiNode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/schema_restapiNode.png -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sakai-san/restApiNodeDemo/HEAD/server.js --------------------------------------------------------------------------------