Code Monkey home page Code Monkey logo

mean-stack-angular5-crud's Introduction

MEAN Stack (Angular 5) CRUD Web Application Example

This source code is part of MEAN Stack (Angular 5) CRUD Web Application Example

To run locally:

  • Clone this repo
  • Run npm install
  • Run npm start

If you think this source code is useful, it will be great if you just give it star or just buy me a cup of cofee Donate

mean-stack-angular5-crud's People

Contributors

angular-cli avatar didinj avatar stanleyeosakul avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mean-stack-angular5-crud's Issues

Cannot find module @angular-devkit/core

Can you explain why doing npm install doesn't take care for the angular-cli issues and I have to manually mangle with the installation process? Especially on a mean seed repo.

Error: No default engine was specified and no extension was provided.

Working fine when redirected from 'http://localhost:4000/books' to 'http://localhost:4000/book-details/5a504218db1db3121100c215' by clicking show-details

But when refresh 'http://localhost:4000/book-details/5a504218db1db3121100c215' page disappear and error shown:

Error: No default engine was specified and no extension was provided.
at new View (/Users/Username/Downloads/mean5/mean-stack-angular5-crud/node_modules/express/lib/view.js:61:11)
at Function.render (/Users/Username/Downloads/mean5/mean-stack-angular5-crud/node_modules/express/lib/application.js:570:12)
at ServerResponse.render (/Users/Username/Downloads/mean5/mean-stack-angular5-crud/node_modules/express/lib/response.js:1008:7)

i tried to console inside book-detail.component.ts

ngOnInit() {
console.log(this.route.snapshot.params['id']);
this.getBookDetail(this.route.snapshot.params['id']);
}

but nothing in shown in console.

Please help.

How does angular and the server run on the same port?

Initially Angular runs on localhost:4200. The server is configured to run on localhost:3000. However, after you create the book component and run localhost:3000 it shows the Angular page. How does that happen?
I tried to emulate your example with a new project but when I run localhost:3000 I get the REST API end point, not the Angular page.

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.