GithubHelp home page GithubHelp logo

jkuri / ng2-file-manager Goto Github PK

View Code? Open in Web Editor NEW
15.0 5.0 9.0 390 KB

Angular2 File Manager

Home Page: http://explorer.jankuri.com:3010

License: MIT License

JavaScript 14.07% CSS 30.27% TypeScript 43.99% HTML 11.67%

ng2-file-manager's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ng2-file-manager's Issues

Understand API Structure

Hi,
I'm trying to use your code but unfortunately, I'm unable to list files.
Looking at code debug I've seen there is this piece of code:

`
var loc = window.location;
var port = loc.port === '4200' ? 3010 : loc.port;
var API_URL = loc.protocol + "//" + loc.hostname + ":" + port + "/api";

function ApiService(http) {
this.http = http;
this.url = API_URL;
}
ApiService.prototype.getFiles = function (path) {
var params = new _angular_http.URLSearchParams();
params.set('path', path);
return this.http.get(this.url + "/files", { search: params })
.map(this.extractData)
.catch(this.handleError);
};
`
This should do a call to a server api, asking about files... which is the expected structure? is it a json?
Can you please attach an example, so I can build the appropriate result?

Thanks
Maurizio

Cannot find name 'object'

angular2-rollup-starter/node_modules/@types/micromatch/index.d.ts:144:22: Cannot find name 'object'.
and many more..

i am using angular 6 and all the repos has been updated by far since angular 2 and hence throwing me errors like above.. tried fixing by changing the repos versions but couldnot proceed with npm run roll:prerender . any help u can provide?

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.