quorrajs / quorra Goto Github PK
View Code? Open in Web Editor NEWA full fledged, open-source NodeJS MVC framework
Home Page: https://github.com/quorrajs/Quorra-docs
A full fledged, open-source NodeJS MVC framework
Home Page: https://github.com/quorrajs/Quorra-docs
Log slice:
Command failed: npm install quorra@latest
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated [email protected]: This module is deprecated
npm ERR! code ETARGET
npm ERR! notarget No matching version found for moment@= 1.7.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'emailjs'
npm ERR! notarget
I was following an issue (and a PR) on Waterline about the custom name of autoCreatedAt
and autoUpdatedAt
but it seems to not working on Quorra.
In the node_modules of Waterline-schema there isn't the PR, so, how can we update it?
Thanks!
just come to know about Quorra and immediately fall in love with it :) its really awesome!
some suggestion why not twig
its default template!
Hi guys,
how can we render a custom error (Ouch page) without the res
instance? A simple throw
did not work (it generates a 500 error, but there isn't the custom message).
Hi!
I was looking for some framework for Node JS that had the approximated organization that Laravel has.
Making some searches, I found Quorra.
I liked the project pretty much, and I was wondering if I could contribute with it. I didn't see any "Contribution guide" on README of the project.
Could I make some PR?
I'm going to be starting on a project in 3 weeks, hopeing to use quorrajs. I was wondering if it is achievable to have policy based authorization on routes, controllers etc similar to Laravel.
https://laravel.com/docs/5.2/authorization
From looking at the docs I haven't seen anything to do with authorization. Im also new to node, so maybe if you could please point me to the right direction so I can try to implement it :)
Btw I love the framework!!
This is my form:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<form action="/" method="post" enctype="multipart/form-data">
<input type="file" name="img" id="img">
<input type="hidden" name="_token" value="{{ csrfToken }}">
<input type="submit" value="Submit">
</form>
</body>
</html>
and this is my route.js
Route.get('/', function(req, res) {
res.view('index', { csrfToken: req.csrfToken() });
});
Route.post('/', { uses: function(req, res) {
res.send(req.input.all());
}});
But, when I submit the form, the json output is {}
Can you help me?
I was writing a simple app to try this out, but found it super annoying having to npm start
each time I added lines of code.. Would be kinda cool to have a dev server of some sort setup where I could add lines of code, refresh the route, and have those changes reflected. Or is there a simple node watch cli toolkit i could use that maybe watches a dir, and stops and starts my qurorra listener?
Love the framework lads - but is there at all a plan to move from Jade
to Pug
?
How can we use one of those packages to schedule jobs? It would be a great thing.
Thank you!
Hi, any plans to move to ES6 syntax?
Thanks.
High guys,
Quite impressive work. I was wondering what's planned for the future ?
It seems there's no more active development which is quite concerning when considering a new framework.
Is development completely frozen or is it just because of the lack of need/idea for new features ?
I know it is quite young so maybe you guys are just looking for more feedback ?
Can't seem to get this to work
<script src="{{ elixir('js/app.js') }}"></script>This is my Jade layout file
doctype html
html
head
title= title
link(rel="stylesheet", href="{{ elixir('css/app.css') }}")
body
div.container
block content
I read how to create a custom middleware on
https://quorrajs.org/docs/v1/getting-started/middleware.html#introduction
but still did not get how to register it with application
specially i was unable to understand this line
You can register your custom middleware with the application in app/routes.js file outside all routes
please help and thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.