Giter VIP home page Giter VIP logo

auto-testing-api's Introduction

Install NodeJS, npm, MongoDb Compass, postman and any text editor (IntelliJ or Visual Studio Code).

Commands to run the code(app.js):

  • cd <project folder>
  • npm install
  • npm run dev

moment is for tracking time.
Then fetch the API by POST method in the postman using URL “http://localhost: [Port Address]/[API Address]”. The postman scripts for all the api's is given in the code as well.

There are about twelve different tables in the database schema diagram and they include add,update,delete and get information api's.

[Port Address] can be fetched from bin/www. API address can be divided into two components. [API Address 1st part] is fetched in app.js, then 2nd part, i.e., the functionality that is required (like login, add, update, delete, or list) is fetched from user Router[./routes/user.route].

A swagger UI has been created as well for the above api's. The UI can be seen on the path “http://localhost: [Port Address]/api/docs"

auto-testing-api's People

Contributors

venkataschirumarri avatar rashikarathi avatar chengqiangliu avatar

Stargazers

 avatar

Watchers

 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.