Questions tagged [railway.js]

Railway.JS(now known as CompoundJS) - MVC framework. Create NodeJS web apps faster with more energy, using RailwayJS.

RailwayJS (now known as CompoundJS) is the Node.JS MVC framework based on ExpressJS, fully ExpressJS-compatible. It allows you to build web applications in a similar manner as in Ruby On Rails.

The main objective of the framework - web development without pain.

Some of the features of RailwayJS are:

  • Full MVC+H stack
  • Resource-based routing
  • JugglingDB ORM
  • Multi-locale support
  • Coffee-script support (howto)
  • Generators for model, controller, scaffold
  • Testing: nodeunit, cucumis, code coverage reporting
  • Debugging: railway console
  • Extensions
61 questions
1
vote
0 answers

railway deployemnt (taking too much time on page One Moment your app should be live soon)

i have deployed my node Js project on railway through Github and it deployed successfully also shows in production log npm WARN config production Use --omit=dev instead. apitwidleagent@1.0.0 start node index.js your server is running on port to…
1
vote
0 answers

console.log does not show in Backend when trying to use Vercel/Railway?

This is my code structure: First, I want to say that my code works locally, it only causes problems why I try to deploy on Vercel or Railway. Backend --> first sends user to login page --> goes back to backend to /authorize, then is sent to…
1
vote
1 answer

Unable to log in to Django admin panel after Railway deployment

I'm new to Django, and even newer to using Railway. I've got a portfolio project that uses Django on the back end, and I was previously hosting on Heroku. I've attempted to move the deployment to Railway, and I've encountered a problem I can't…
danianise
  • 13
  • 2
1
vote
1 answer

Deploying github repo to railway. app resulting - Application Error Is your app correctly listening on PORT?

There was a solution available on github of adding the variable i did that, what ever i put port number it says already in use, follow is the error on deploy log.. listening on port 9586 Port 9586 is already in use [nodemon] app crashed -…
1
vote
2 answers

Nested resources in railway.js: Says cannot POST

I am trying out an MVC framework called railway.js (which sits on top of Node, Express, Mongoose, and Mongo). I'm trying to get nested resources to work. I did the following scaffolding commands: railway g scaffold user name email description…
Christopher DuBois
  • 42,350
  • 23
  • 71
  • 93
1
vote
1 answer

Enumerating types for a given column for a model object

I have an obect called "Task" and each task has a type. In my database design without ORM, i would have a table called TaskTypes and Task table would have foreign key to the TaskTypes table where we define Tasks.. Is there a way to handle this…
Tolga E
  • 12,188
  • 15
  • 49
  • 61
1
vote
1 answer

Customize validation message in node.js

I'm new to Node.js and I had a problem in customize validation message in node.js.I created a simple app with Compound JS using CRUD operation. In my app there is a field called "id". The "id" field only accept integer value only. Then I validate…
Jetson John
  • 3,759
  • 8
  • 39
  • 53
1
vote
1 answer

Spelling error issue in routes while scaffolding Compound js

I'm new with node and compound. While i tried to scaffold compound g crud leaveApplication leave_code:string description:string applicable:string carry_forward:boolean limit_type:boolean lop:boolean od:boolean co:boolean leave_revision:boolean…
Okky
  • 10,338
  • 15
  • 75
  • 122
1
vote
0 answers

RailwayJS & Cradle not working error

I am trying to use the cradle adapter for couchdb with railwayjs but it does not work. This is a base install, and i have already installed cradle. database.json { "development": { "driver": "cradle" } , "test": { "driver": "memory" } ,…
888
  • 181
  • 1
  • 1
  • 6
1
vote
2 answers

In CompoundJS how does database seeding work?

I see that there is a folder for database seeds and a command for it but I couldn't find any documentation on how it works. Can someone help?
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

can neo4j be used with RailwayJS

I'm having trouble using neo4j as my backing database to a RailwayJS starter project. I updated the database.json file to point my local neo4j instance but it seems to just hang when I call any route with data access. Here's what's in my…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

RailwayJS and Mongoose with option --coffee

does somebody know why data will not be stored in mongodb in a railway-project using the --coffee option? Creating a project the regular way (w/o --coffee option) data will be saved in mongodb. So when do the following: railway init blog && cd…
David
  • 54
  • 9
1
vote
1 answer

Implementing validation for models in Railway

So I'm trying to get acquainted with Railway.js, thus I'm making a small application, part of which involves email validation on the model. Now: -Taken from db/schema.js- var User = describe('User', function () { property('email', String, {…
Misguided
  • 1,302
  • 1
  • 14
  • 22
1
vote
2 answers

Where to define custom schema using RailwayJS

The docs simply say "or define custom schema (non-juggling), for example, mongoose. Please note, in case of custom schema all jugglingdb features of course will be disabled." However.. Where exactly should this schema be created?
Alex
  • 37,502
  • 51
  • 204
  • 332
1
vote
1 answer

express-subdomain-handler in railway tell me subdomain param (in route) is controller why?

ok i got this problem. i have this routes: (code bit change) File:/home/dotcloud/current/config/routes.js exports.routes = function (map) { // Generic routes. Add all your…
Sivan Wolberg
  • 348
  • 2
  • 6
  • 18