{"id":19302069,"url":"https://github.com/codespede/pwoli-express-typescript-sample","last_synced_at":"2025-02-24T01:41:23.845Z","repository":{"id":118465841,"uuid":"426177489","full_name":"codespede/pwoli-express-typescript-sample","owner":"codespede","description":"A sample TypeScript enabled Express.js app which uses Pwoli to show users how it works","archived":false,"fork":false,"pushed_at":"2022-11-02T19:13:33.000Z","size":234,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-05T23:12:26.999Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-09T10:03:57.000Z","updated_at":"2024-03-02T17:55:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"f13b52b8-baf8-4f98-a4a9-f1168df84c00","html_url":"https://github.com/codespede/pwoli-express-typescript-sample","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/codespede%2Fpwoli-express-typescript-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-express-typescript-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-express-typescript-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-express-typescript-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codespede","download_url":"https://codeload.github.com/codespede/pwoli-express-typescript-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240404337,"owners_count":19796056,"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-11-09T23:19:49.155Z","updated_at":"2025-02-24T01:41:23.836Z","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-express-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:3006/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:3006/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 like below:\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-express-typescript-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodespede%2Fpwoli-express-typescript-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodespede%2Fpwoli-express-typescript-sample/lists"}