Solved

NodeJS, Parse-server, express basic tutorial to write and read data from a html page. Where can I find one?

Posted on 2016-09-29
5
237 Views
Last Modified: 2016-11-10
Hello all,
    I am having trouble finding an absolute, bare bones from scratch tutorial. I have written an app in node JS that writes directly to and reads from MongoDB, I made a reverse proxy that is written in nodejs  that points my domain subfolders to different ports for parse-server and parse dash (eg: site.com/parse, site.com/dash).

I see tutorials on the parse wiki and things of that nature, but they just do a section at a time, and do not seem to tie things together in a way that makes sense to me. Is there any sort of step by step tutorial that anyone knows of that starts with the basics, just as, you make a file called something.js, you put require =("parse") or whatever it needs,  it creates the server port, then shows how to use an html page to write data to parse, and then read it back to the page. I am not sure why I can not grasp how parse works vs just simply writing to mongo, but the rest of my pals who are working on a project that I am trying to help on are all using it and I just can not find a tutorial that explains exactly why you would want / need parse over just writing to mongodb directly as I had before. I would like to know, but can not find good enough explanations, even in their official documentation, it just is not "clicking" for me. Even just a single application that uses node, parse, express, and has a form that writes and reads something like a user registration form, or just simple form data and then displays it would make all the difference.

If anyone knows a full on tutorial I can look at, I would greatly appreciate it!

Thanks,
0
Comment
Question by:MostHated
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 58

Assisted Solution

by:Julian Hansen
Julian Hansen earned 500 total points
ID: 41823089
I found the following to be quite useful

https://zellwk.com/blog/crud-express-mongodb/

It goes through the process of setting up node, installing the various dependencies as well as installing and writing to MongoDB.

It uses the body-parser to parse form data - I changed that to multer because I need to accept files as well but if you are not doing multipart form data you can stick to body-parser.
0
 
LVL 1

Author Comment

by:MostHated
ID: 41823411
I actually used that exact same one to learn to write to mongodb, it is a very good tutorial, the only issue is it is not using "parse-server" which is something that ends up interacting with  and from what I can tell managing mongodb on its own, that is where I am having the issue. I can not find much about how to properly setup a new app from scratch to use parse-server. They have examples, but I could really use that like the one you linked above that specifically relates to it.
0
 
LVL 58

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41824190
I am assuming you have seen the Tutorial videos on the Parse-sever website that use the following example on GitHub

https://github.com/ParsePlatform/parse-server-example
0
 
LVL 1

Author Comment

by:MostHated
ID: 41824281
Edit, I take back everything I said below, this seems to be perfect! You said there is a video somewhere that explains it?

The only videos I have seen were ones that just explain how parse is now free, and why its great, and things of that nature, and I seem to only find things about "migrating your current app to parse" or "how to setup parse server" and things of that nature. I have it installed, (http://syntaxlabs.io/parse and http://syntaxlabs.io/dash) but am looking for a quick and easy useage guide compared to writing things directly to mongo outside of parse.  I am hoping to come across something along the lines of "ok, here is how you install parse, this is how you initialize it in your app, this is how you make a web form that can write data to it by using this, this and this,, and then here is how you display it". Something very basic, so I can just see how it all works. I see the parse examples and what not, but they keep wanting you to use Heroku, or other hosted things and what not. I do not want / need any of that.
0
 
LVL 58

Expert Comment

by:Julian Hansen
ID: 41824539
The videos on the link below - I went through them - gave a good overview and some useful information

http://blog.parse.com/learn/parse-server-video-series-april-2016/
1

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Introduction to Processes
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question