V
V
Vyacheslav2014-10-05 00:17:49
JavaScript
Vyacheslav, 2014-10-05 00:17:49

How to make an admin panel that saves the result of work in json using js only?

You need to do something similar to the admin panel, where a user who has rights can enter data in the appropriate fields and they will be written to a json file, which will also be created depending on the creation date.
I want to make a web application. It will work like this - a user who has an account logs in and enters the title and description of some event. And then a json file is created on the server. If another user creates his own entries, they are added to that file. And each day will have its own file.
And how would it be better to implement authorization without user registration? What are your ideas about architecture and technologies used. I can only work with javascript. Is it possible to get by with just them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-10-05
@slavik_210

angular.js/ember.js/backbone + node.js on the server + may not need files, take mongodb?

V
Vladislav, 2014-10-05
@Div100

Here is a small AngularJS example

//.....
$scope.GO = function (data) {
   $http.post('url', data).success(function(res){})
}
//....

<form>
<input ng-model="data.user.name" >
<input ng-model="data.settings" >
<button ng-click="GO(data)"></button>
</form>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question