D
D
deadkEEper12015-10-07 17:39:20
Node.js
deadkEEper1, 2015-10-07 17:39:20

How to organize a SPA?

Is it necessary to write a simple SPA in express and node.js to understand the processes? Let's say there should be registration with adding data (name and age) to mongo db, logging in and viewing all users. What can you read about the logic of such an application? Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
idclev31, 2015-10-07
@deadkEEper1

Single Page Web Application Development - Josh Powell
Divine book detailing the basics of spa design using node,express,socket.io
written in pure javascript, delving into design
But in short - on the server authentication, authorization, data
Everything else is the client.

S
Sergey, 2015-10-07
Protko @Fesor

1) on the server you only have http api
2) ???
3) everything.
That is, to summarize - you need to look for information on how to raise http api on express.js. Alternative - if you are doing SPA on React or suddenly on Angular2, then server-side rendering is possible there and everything becomes a little more interesting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question