Comments (7)
from generator-ng-fullstack.
Hey, @ybchoo. Thanks for the kind words 😄
As for the questions, there are a couple things that could be going on:
- Are you compiling such changes? Since they're on
typescript
, there's a chance they're not compiled by the IDE on the fly; - Are you using a secure app? Because that'd change the
http
tohttps
. - Which webframework are you using for the server?
express
is the only one that's working fine withtypescript
. - I'm assuming you created the controller for such endpoints; are you finishing the response?
These are the primary things from the top of my head, if you're doing all that and it still doesn't work, let me know, I'll create a demo app for you to take a look.
from generator-ng-fullstack.
from generator-ng-fullstack.
What I do not understand is how you incorporate other route to the
following?
TodoRoutes.init(router);
router.route("*").get(StaticDispatcher.sendIndex);
app.use("/", router);
You should have your CourseRoutes.init(router)
and InstructorRoutes.init(router)
right below the TodoRoutes.init(router)
.
See how it's being exported in the /server/api/route/todo-route.ts
.
from generator-ng-fullstack.
from generator-ng-fullstack.
Hey, don't worry @ybchoo. I'm here to help 😄
If you're getting the []
response, it means there's nothing saved in the database. When you do so, it'll return the array with the objects within it.
from generator-ng-fullstack.
I'm closing this since it should be working now.
If there's anything else you'd like to ask, feel free to do so.
from generator-ng-fullstack.
Related Issues (20)
- test db helper - mongoose connection HOT 5
- Todo app isnt' saving to Mongo's DB HOT 5
- [ng1/tasks/gulp.watch] - Should not watch changes in bower_components HOT 3
- Do not use generators in Koa server HOT 1
- require-dir is broken on node 8 HOT 1
- Heroku Error Gulp is not defined HOT 1
- Task 'client.build:dist' is not in your gulpfile HOT 2
- Name convention problems upon using generator HOT 5
- No scss-file is generated when using ngf generate HOT 2
- Koa 2 HOT 1
- webpack HOT 9
- Samples For Multiple Client Pages Accessing Multiple Server Endpoint HOT 3
- bower -> npm/yarn HOT 4
- v2
- vue2 + cordova HOT 2
- No Showing On Yeoman HOT 2
- Error running project HOT 4
- Duplicate - please ignore this.
- Troubles continued from #297 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-ng-fullstack.