Giter Club home page Giter Club logo

examples-vrest-ng's Introduction

Sample Test Application to demonstrate vREST NG.

Sample Test Application "Contacts" is a CRUD application built with with Backbone.js, Bootstrap, Node.js, ExpressJS, and LowDB.

The application allows you to browse through a list of contacts, as well as add, update, read and delete contacts using the following APIs.

  1. POST /contacts/rePopulateDB - Re-initialize the Database State
  2. GET /contacts - Returns List of contacts
  3. POST /contacts - Adds a new contact
  4. PUT /contacts/{{contactId}} - Update the contact by id
  5. GET /contacts/{{contactId}} - Read the contact by id
  6. DELETE /contacts/{{contactId}} - Delete the contact by id

Pre-requisites:

  1. NodeJS (Tested with v10.16.2)

To Run this application, simply follow the steps below:

  1. Install the dependencies npm install

  2. Run the application server npm run start

Sample Projects written by vREST NG

The test directory contains the following sample vREST NG projects which you may drag in vREST NG Application workspace area to see the test cases.

  1. ddt-tests: This is a project written by vREST NG application to demonstrate the Data driven testing capability of vREST NG. vREST NG - Data Driven Testing Example vREST NG - Data Driven Testing Example

  2. scenario-tests: This is a project written by vREST NG application to demonstrate the Scenario or workflow testing capability of vREST NG. vREST NG - Scenario Testing Example vREST NG - Scenario Testing Example

  3. 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. vREST NG - Use of NPM Package moment vREST NG - Use of NPM Package Example

Continuous Integration sample files

  1. Gitlab CI: For Gitlab CI, use file .gitlab-ci.yml.
  2. Azure DevOps: For Microsoft Azure DevOps, use file azure-pipelines.yml

Note: Before executing your tests, make sure your application server is running.

examples-vrest-ng's People

Contributors

dheerajaggarwal avatar dependabot[bot] avatar

Stargazers

8dspaces avatar Pankaj Jangid avatar Anup Kaushal avatar  avatar

Watchers

Pankaj Jangid avatar  avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.