{"id":23237615,"url":"https://github.com/xiaofan2406/restful-api-server","last_synced_at":"2025-04-05T21:20:27.644Z","repository":{"id":46077373,"uuid":"58616239","full_name":"xiaofan2406/restful-api-server","owner":"xiaofan2406","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-28T04:45:13.000Z","size":153,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T08:07:59.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaofan2406.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-12T06:57:50.000Z","updated_at":"2021-11-16T04:28:40.000Z","dependencies_parsed_at":"2022-09-17T06:31:23.792Z","dependency_job_id":null,"html_url":"https://github.com/xiaofan2406/restful-api-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan2406%2Frestful-api-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan2406%2Frestful-api-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan2406%2Frestful-api-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaofan2406%2Frestful-api-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaofan2406","download_url":"https://codeload.github.com/xiaofan2406/restful-api-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247401315,"owners_count":20933047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T04:14:15.109Z","updated_at":"2025-04-05T21:20:27.618Z","avatar_url":"https://github.com/xiaofan2406.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MOVED to bitbucket!!!\n\n# REST-ful API server\n\n[Node v6](https://nodejs.org/api/) + [Express](http://expressjs.com/) + [Sequelize](http://docs.sequelizejs.com/en/latest/) + [PostgreSQL](http://www.postgresql.org/docs/9.5/static/index.html)\n\n\n# Get Started\n* `npm run setup`\n* modify `-config.js` files under `config/` directory\n* define models\n* define routes\n* `npm test`\n* `npm start`\n\n# TODOs\n* **HTTP status code**\n* **Documentation**\n* promisify callbacks\n* ~~email log~~\n* testing\n* view engine setup\n* express middleware config\n* ~~user authentication~~\n* sequelize database migrations\n* production setup\n* folder structure\n* ~~webpack es6 babel~~\n\u003e remove sequelize in the futuer, use pg, and es6 classes\n\n# Conventions\n### Nodejs Naming\n| Target      | Type       |\n| ----------- | ---------- |\n| Directories | kebab-case |\n| Files       | kebab-case |\n| Classes     | PascalCase |\n| Models      | PascalCase |\n| Variables   | camelcase  |\n\n### Database Naming\n| Target      | Type       |\n| ----------- | ---------- |\n| Name        | snake_case |\n| Table name  | snake_case |\n| Attribute   | camalCase  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaofan2406%2Frestful-api-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaofan2406%2Frestful-api-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaofan2406%2Frestful-api-server/lists"}