javascript - Web UI for a REST API - Stack Overflow

I wrote a REST API in Node.js (with Express)that implements a queue with some dequeueenqueue functiona

I wrote a REST API in Node.js (with Express)that implements a queue with some dequeue/enqueue functionality, and the next step is creating a web view for that API. I am really new to javascript and Node.js , can i have some pointers on how to implement it? is there a framework I can use to integrate the api.js i built with a front-end?

I wrote a REST API in Node.js (with Express)that implements a queue with some dequeue/enqueue functionality, and the next step is creating a web view for that API. I am really new to javascript and Node.js , can i have some pointers on how to implement it? is there a framework I can use to integrate the api.js i built with a front-end?

Share Improve this question edited Aug 13, 2016 at 12:10 deeveeABC 9863 gold badges13 silver badges36 bronze badges asked Aug 13, 2016 at 11:08 TombTomb 711 silver badge10 bronze badges 5
  • have your tried angular? – Jorawar Singh Commented Aug 13, 2016 at 11:09
  • 1 questions like this usually get closed on stackoverflow because they result in opinionated answers. you can check answers for stackoverflow./questions/14072131/… though – oldbam Commented Aug 13, 2016 at 11:12
  • A simple google search would give you an answer for this.... I.e. just search for node js test api frontend and you get lots of code examples and tutorials on how its done. – deeveeABC Commented Aug 13, 2016 at 11:13
  • Questions that ask "where do I start" are typically too broad and are not a good fit for this site. People have their own method for approaching the problem and because of this there cannot be a correct answer. Give a good read over Where to Start, then address your post. – Blue Commented Aug 13, 2016 at 12:14
  • @FrankerZ - The question is a bit confusing, that might be right. Dunno. But in contrast to you I think there is quite a standardized way to handle REST APIs backend and frontend side using the MEAN stack (at least as there are quite clean to implement REST standards and as Angular offers a straight ressource service to handle data transfer). In other things I agree with you. – sasha Commented Aug 13, 2016 at 12:16
Add a ment  | 

1 Answer 1

Reset to default 3

When you wrote a REST api using nodejs and the expressjs framework, you are perfectly prepared to use the plete MEAN stack, which implements angularJS for frontend services.

Angular offers a plete REST implementation (called ngResource). Install via npm.

With the angular resource service you get your frontend interface (to interact with your backend) out of the box (except a few adaptations you'll have to make, e.g. to make it work with Mongoose, which is used to make the access to your MongoDB more fortable).

You'll find a few superb tutorials, as this one and others on scotch.io are some of them. Google for 'api rest angular resource mean ...' in different selections ;-)

Other links that helped me a lot:

  • Tutorial from Angular itself
  • Thinkster.io - plete MEAN stack overview with examples
  • a helpful tutorial with good examples from Frederik Dietz
  • Buecheler es out with this great tutorial, but its more about the backend side - as you might check your code againt the basic standards of a REST backend implementation.

Those are some of the links I noted and that could find ad hoc.

EDIT: As your headline suggests you are searching for an UI, I suppose IBM Strongloop might be a good hint for you. IBM is strongly interconnected with the development of ExpressJS and offers this API and UI for probably all data concerning questions of your Webapp.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745274397a4619947.html

相关推荐

  • javascript - Web UI for a REST API - Stack Overflow

    I wrote a REST API in Node.js (with Express)that implements a queue with some dequeueenqueue functiona

    2小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信