Close
0%
0%

Libre University Research

An place for Scientifics to publish their pre-release and peer-reviewed research papers for all humanity to see.

Similar projects worth following
With the sale of SSRN the Scientific community is skeptical about the future of it. So I decided to create this project to give them a place to publish their research.
  • Design and boilerplate

    Francisco Presencia06/14/2016 at 20:50 0 comments

    I started by preparing NPM and the Node.js server and creating the boilerplate for the module. Since I am creating a new section of an ongoing project, this was not so difficult but still I preferred rewriting a bit of the base for easier development for future hackers.

    For instance, now to run the project in development mode a developer just has todo:

    npm run watch

    While before an obscure file in ./scripts/start.sh had to be called with a lot of custom logic.

    Besides that, the boilerplate has been created in ./modules/research, a small REST API:

    // Routing
    var controller = require('./controller');
    
    module.exports = function(router){
    
      router.get('/research', controller.index);
      router.get('/research/:id', controller.get);
      router.post('/research', controller.add);
      router.post('/research/:id', controller.edit);
    
      return router;
    };
    
    The Controller however is rather simple, with no model reference yet:
    module.exports.index = function(req, res){
      res.render('research/index');
    };
    module.exports.get = function(req, res){
      res.render('research/one');
    };
    module.exports.add = function(req, res){
      res.render('research/one');
    };
    module.exports.edit = function(req, res){
      res.render('research/one');
    };
    
    And the views are a simple "works!" that is not work even showing here. This version with the files can be seen in the Github commit files.

    On the other hand, I have also started with the design.

    The index.jade view will look like this:And when you want to upload a single file it will looks like this:

    So there you go, first design. A basic layout on paper and the boilerplate to start working on the project. More updates soon.

View project log

  • 1
    Step 1

    You need to have installed these. As their installation wildly varies among systems and they are greatly documented, I'll just list them as prequisite:

    • Node.js
    • NPM
    • MongoDB (and running with the command mongod).

    When you have them installed follow the rest of the instructions to get Libre University up and running.

  • 2
    Step 2

    Clone the repository

    git clone git://github.com/libre/university.git && cd ./university
  • 3
    Step 3

    Install Nodemon, Istanbul and Mocha globally for testing (recommended):

    npm install nodemon istanbul mocha -g

View all 5 instructions

Enjoy this project?

Share

Discussions

Madeleine Sorenson wrote 05/02/2019 at 13:52 point

I think university research in this area is very important, you should familiarize yourself with them. You can also read an essay at https://samples.edusson.com/police-brutality/ about police brutality these days, it is very important. You will read the essay and rethink the situation.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates