Giter VIP home page Giter VIP logo

heroes-rest-api's Introduction

Heroes-Rest-Api

Hero Manager

This browser application is a 'Hero Manager' - it allows a user to view, create, delete and update heroes. It will make HTTP requests to http://localhost:8888 to fetch and manipulate hero data. The application Heroes-Rest-Api respond to those requests.

Open Hero Manager

Aqueduct document client

In your project directory, run aqueduct document client and it will generate a file named client.html. Open this file in your browser for a UI that constructs and executes requests that your application supports.

Run in the project directory
 aqueduct document client

Running the Application Locally

Run aqueduct serve from this directory to run the application. For running within an IDE, run bin/main.dart. By default, a configuration file named config.yaml will be used.

To generate a SwaggerUI client, run aqueduct document client.

References

  • postgreql version 12.4 Windows x86-64
  • Aqueduct CLI Version: 4.0.0-b1
  • Aqueduct project version: 4.0.0-b1
  • Dart SDK version: 2.10.2 (stable) "windows_x64"

pubspec.yaml

version: 0.0.1
environment:
  sdk: ">=2.0.0 <3.0.0"
dependencies:
  aqueduct: ^4.0.0-b1
dev_dependencies:
  test: 
  aqueduct_test: 

request_sender.HTTP

Use for sending request in VS Code.
Extension : REST Client

Passwords

For postgresql client
12345

Running Application Tests

To run all tests for this application, run the following in this directory:

pub run test

The default configuration file used when testing is config.src.yaml. This file should be checked into version control. It also the template for configuration files used in deployment.

Deploying an Application

See the documentation for Deployment.

heroes-rest-api's People

Contributors

amitpatil215 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.