{"id":20041557,"url":"https://github.com/optimizory/examples-vrest-ng","last_synced_at":"2025-05-05T08:32:20.906Z","repository":{"id":43165027,"uuid":"231627883","full_name":"Optimizory/examples-vrest-ng","owner":"Optimizory","description":"Example Projects for vREST NG","archived":false,"fork":false,"pushed_at":"2022-12-11T19:15:54.000Z","size":6017,"stargazers_count":5,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T19:48:01.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/Optimizory.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":"2020-01-03T16:48:02.000Z","updated_at":"2025-02-24T11:01:13.000Z","dependencies_parsed_at":"2023-01-27T05:16:18.426Z","dependency_job_id":null,"html_url":"https://github.com/Optimizory/examples-vrest-ng","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/Optimizory%2Fexamples-vrest-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optimizory%2Fexamples-vrest-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optimizory%2Fexamples-vrest-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optimizory%2Fexamples-vrest-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Optimizory","download_url":"https://codeload.github.com/Optimizory/examples-vrest-ng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252466810,"owners_count":21752440,"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-13T10:47:04.782Z","updated_at":"2025-05-05T08:32:18.568Z","avatar_url":"https://github.com/Optimizory.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Test Application to demonstrate [vREST NG](https://vrest.io). #\n\nSample Test Application \"**Contacts**\" is a CRUD application built with with [Backbone.js](https://backbonejs.org/), [Bootstrap](https://getbootstrap.com/), [Node.js](https://nodejs.org/), [ExpressJS](https://expressjs.com/), and [LowDB](https://github.com/typicode/lowdb).\n\nThe application allows you to browse through a **list of contacts**, as well as **add**, **update**, **read** and **delete** contacts using the following APIs.\n\n1. **POST** /contacts/rePopulateDB - Re-initialize the Database State\n2. **GET** /contacts - Returns List of contacts\n3. **POST** /contacts - Adds a new contact\n4. **PUT** /contacts/{{contactId}} - Update the contact by id\n5. **GET** /contacts/{{contactId}} - Read the contact by id\n6. **DELETE** /contacts/{{contactId}} - Delete the contact by id\n\n## Pre-requisites: ##\n1. **NodeJS** (Tested with v10.16.2)\n\n## To Run this application, simply follow the steps below: ##\n\n1. Install the dependencies\n```npm install```\n\n2. Run the application server\n```npm run start```\n\n## Sample Projects written by vREST NG ##\n\nThe `test` directory contains the following sample **vREST NG** projects which you may drag in [vREST NG Application workspace area](https://vrest.io/docs/app/new-user.html) to see the test cases.\n\n1. `ddt-tests`: This is a project written by vREST NG application to demonstrate the Data driven testing capability of vREST NG.\n![vREST NG - Data Driven Testing Example](assets/ddt-tests.png)\n*vREST NG - Data Driven Testing Example*\n\n2. `scenario-tests`: This is a project written by vREST NG application to demonstrate the Scenario or workflow testing capability of vREST NG.\n![vREST NG - Scenario Testing Example](assets/scenario-tests.png)\n*vREST NG - Scenario Testing Example*\n\n3. `tests-using-npm-packages`: This is a project written by vREST NG application to demonstrate how you may import `npm` packages to extend the power of vREST NG Application. For more information, read this [guide link](https://vrest.io/docs/app/utility-methods.html#importing-npm-packages-in-utility-methods).\n![vREST NG - Use of NPM Package `moment`](assets/use-of-npm-package.png)\n*vREST NG - Use of NPM Package Example*\n\n## Continuous Integration sample files ##\n\n1. `Gitlab CI`: For Gitlab CI, use file `.gitlab-ci.yml`.\n2. `Azure DevOps`: For Microsoft Azure DevOps, use file `azure-pipelines.yml`\n\n**Note:** Before executing your tests, make sure your application server is running.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimizory%2Fexamples-vrest-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptimizory%2Fexamples-vrest-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptimizory%2Fexamples-vrest-ng/lists"}