{"id":19302067,"url":"https://github.com/codespede/pwoli-nodejs-typescript-sample","last_synced_at":"2025-10-14T18:40:03.442Z","repository":{"id":59980957,"uuid":"425985218","full_name":"codespede/pwoli-nodejs-typescript-sample","owner":"codespede","description":"A sample TypeScript enabled NodeJS app which uses Pwoli to show users how it works","archived":false,"fork":false,"pushed_at":"2022-11-09T07:54:03.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-14T18:40:02.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/codespede.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":"2021-11-08T20:33:51.000Z","updated_at":"2024-03-02T17:55:08.000Z","dependencies_parsed_at":"2022-09-25T12:22:26.884Z","dependency_job_id":null,"html_url":"https://github.com/codespede/pwoli-nodejs-typescript-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codespede/pwoli-nodejs-typescript-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-nodejs-typescript-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-nodejs-typescript-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-nodejs-typescript-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-nodejs-typescript-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codespede","download_url":"https://codeload.github.com/codespede/pwoli-nodejs-typescript-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-nodejs-typescript-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020360,"owners_count":26086866,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T23:19:49.042Z","updated_at":"2025-10-14T18:40:03.395Z","avatar_url":"https://github.com/codespede.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pwoli with TypeScript enabled Express.js - Sample Application\n\nA sample TypeScript enabled Express.js app which uses Pwoli to show users how it works.\n\n## Try it out\n\nEasiest way is to clone this repo into your local:\n\n```\ngit clone https://github.com/internetmango/pwoli-nodejs-typescript-sample.git\n# cd into the directory\nnpm install\n```\n\n- Provide your DB credentials in the file config/config.json\n- Build the app\n```\nnpm run build\n```\n- Initialize the DB with tables\n\n```\nnode dist/dbinit.js\n```\n- For adding some seed data(dummy data) to the tables, please run:\n\n```\nsequelize db:seed:all\n```\n\n- Run the app\n```\nnpm run start\n```\n\nPoint your browser to http://localhost:5000/items/list and you should see a page with a `GridView` where you can do CRUD operations for the items.\n\nPoint your browser to http://localhost:5000/items/api to see the RESTful API features mentioned in https://internetmango.github.io/pwoli/rest-api\n\n## Using Mongoose as ORM\n\nFor using Mongoose as the ORM, please follow the below steps:\n- Rename the file `orm-model-config-sample.cjs` to `orm-model-config.cjs` in your working directory.\n- Run the app\n    ```\n    npm run mongo\n    ```\n- Then point your browser to the above URLs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodespede%2Fpwoli-nodejs-typescript-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodespede%2Fpwoli-nodejs-typescript-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodespede%2Fpwoli-nodejs-typescript-sample/lists"}