{"id":19302057,"url":"https://github.com/codespede/pwoli-node-sample","last_synced_at":"2025-02-24T01:41:21.731Z","repository":{"id":40365843,"uuid":"425984538","full_name":"codespede/pwoli-node-sample","owner":"codespede","description":"A sample NodeJS app which uses Pwoli to show users how it works","archived":false,"fork":false,"pushed_at":"2025-01-18T09:51:31.000Z","size":254,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-18T10:28:59.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/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-08T20:31:29.000Z","updated_at":"2025-01-18T09:51:26.000Z","dependencies_parsed_at":"2024-12-04T08:28:07.236Z","dependency_job_id":"0b210784-2885-4a87-b8dc-8d1f22104339","html_url":"https://github.com/codespede/pwoli-node-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-node-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-node-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-node-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codespede%2Fpwoli-node-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codespede","download_url":"https://codeload.github.com/codespede/pwoli-node-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240404336,"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:47.237Z","updated_at":"2025-02-24T01:41:21.712Z","avatar_url":"https://github.com/codespede.png","language":"JavaScript","readme":"# Pwoli with Raw NodeJS Sample Application\n\nA sample 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-node-sample.git\n# cd into the directory\nnpm install\n```\n\n- Provide your DB credentials in the file config/config.json\n\n- Initialize the DB with tables\n\n```\nnode --experimental-json-modules dbinit.js\n```\n- For adding some seed data(dummy data) to the tables, please run:\n\n```\nsequelize db:seed:all\n```\n- Run the app\n```\nnode --experimental-json-modules index.js\n```\n\nPoint your browser to http://localhost:3500/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:3500/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    node --experimental-json-modules index-mongo.js\n    ```\n- Then point your browser to the above URLs.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodespede%2Fpwoli-node-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodespede%2Fpwoli-node-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodespede%2Fpwoli-node-sample/lists"}