review page using nodejs and mongodb - html

I am new to Nodejs and mongoDB. I want to create two pages:account updating of a user (if a user wants to update his/her profile picture,email,name,... save them into database) and review page to review a product or a person(tutor).
I would need links or if anyone can provide a code for me.

Well you specified you need link here the one which would help you
http://coenraets.org/blog/2012/10/creating-a-rest-api-using-node-js-express-and-mongodb/

Related

wordpress make a wizard to collect information from user and save it in a database

I am attempting to make a step through wizard in word press. I have a website with a nice theme and everything and all pages work fine. What i want to do is in one of the page collect some information from the customer. When they select one of the buttons on the site i want them to end up on a page that has a bunch of options. Based on their selection i want a certain information captured and then the wizard moves to the next page.
Step by step i want to collect 5 or 6 pieces of information that the user selects. Kind of like a wizard that the user can select their options and that gets saved to their profile. Now i am not exactly sure how database management works in word press, how i can create rows or columns based on what i need and how i can save information to these. All the word press tutorials that i find are basic and dont show this type of behavior and data manipulation. Can someone point me in the right direction where i can learn about how to set up databases and collect information from the user?
Thanks,
If you want to store the data for user you can first create User Meta Fields. You can follow this link on how to create User meta fields
https://developer.wordpress.org/reference/functions/add_user_meta/ . You can then save the data from the form in this meta fields using update_user_meta()
https://developer.wordpress.org/reference/functions/update_user_meta/. You can fetch this data using function get_user_meta()
https://developer.wordpress.org/reference/functions/get_user_meta/
I hope this helps you !!

How to create a custom user login account page where user can upload papers that stores in mysql database?

Suppose i've already made a Dynamic page using sessions in servlet that generates a user login page and in that account if User has uploaded paper in his own account, after he logs in again , that should be there already.
How can we stored image in database, and how can we transfer image to another account also known to be reviewer that gets to be review the paper uploaded by user
in his account.
How can this be possible, Anyone please help me, Because i have no idea, i am studying Servlets right now. Please Help. Thanks

How to send back data to a server in a PWA website

I've searched and I can only find tutorials to pull info from a server to update the latest info of my PWA app using JSON. But I can't find any way and any example to fetch data back to a server to mantain for instance a Database updated and display that to all users which may use that PWA.
For example, I have a PWA that let me login (client-server communication), then it displays a list of contacts that were stored in a Database. I can delete, modify or add new users to this list from my PWA app, and after doing that, they'll update on my server Database, so if my friend Paul, wants to check the updated list from his account, he'll see the new changes.
How Can I do that? Which language would I have to use, php and Javascript (Ajax)? Which is the most fluid and optimized way to do it according to a Progressive Web App.
I guess you are trying to store user changes back to the server(webservice and then to the data base).
You have to make an AJAX call to your web service and pass the required data needed to store in DB.
Here is an example.
https://www.w3schools.com/xml/xml_http.asp
Depending on the framework you are using, you might have more options to call a web service. Like here is an example for Angular -> https://www.w3schools.com/angular/angular_http.asp

Xcode: best way to create a user login and a place that can hold an array associated to their login

I'm looking for some help. I am about to delve into something I am relative new to. I am am trying to create a system for my app where a user can create an account and login and once they have done so it uploads an array to a database so that the array can be retrieved by other users.
I understand that this is kind of complicated, but I'm sure somebody has experienced this issue before. I have read about mysql but I'm not sure if when the user creates an account, that I can upload the array and it can be accessed by other contacts.
If someone could give me links to tutorials that you found helpful then it would be greatly appreciated.
Pseudo code would be:
User 1 creates account.
User 1 logs in.
App uploads array to users account stored online.
When user 2 logs in (assuming he has created an account)
He adds the first user as a contact of app.
He downloads the array of user 1 and uploads his array

How do I make a url that is specific to some set of data with out a html file?

For example, facebook. I have a list of different teams that shows overall data for that team, but the goal is the user will click on their team and send them to page that is detailed information about their team. My client wants the user's team name to be within the url so they can save the page as a favorite.
How I do this with out making a html file for every single team that gets made?
Im using Django for back end.
If you're using django then there is certainly no sense in making html for each team. You should make a template and populate this template with the data you're getting from your database (models.py) according to url (urls.py) and the appropriate view (views.py).
This is fairly basic django usage covered extensivly in the offical tutorials and the django documentation. Read it and use it, cause there is no shortcut. And last but not the least - enjoy cause such good tutorials and docs you won't see every day.