You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app.js
var Country = Parse.Object.extend('Country');
var auth = require('http-auth');
// These two lines are required to initialize Express in Cloud Code.
express = require('express');
app = express();
// Global app configuration section
app.set('views', 'cloud/views'); // Specify the folder to find templates
app.set('view engine', 'ejs'); // Set the template engine
how do I make it work?
The text was updated successfully, but these errors were encountered:
Avatarchik
changed the title
How to move a cloud code?
How to move a cloud code?(Run Express in Cloud Code)
Feb 22, 2016
Avatarchik
changed the title
How to move a cloud code?(Run Express in Cloud Code)
How to move a cloud code?(Hosting Run Express in Cloud Code)
Feb 22, 2016
Hi!
main.js
require('./app.js');
app.js
var Country = Parse.Object.extend('Country');
var auth = require('http-auth');
// These two lines are required to initialize Express in Cloud Code.
express = require('express');
app = express();
// Global app configuration section
app.set('views', 'cloud/views'); // Specify the folder to find templates
app.set('view engine', 'ejs'); // Set the template engine
how do I make it work?
The text was updated successfully, but these errors were encountered: