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
0
votes
1 answer

Model.find() not finding in Mongoose with RailwayJS

I'm having real trouble using find in my test railwayjs app. In my model: data is => "email":"test","password":"[FILTERED]" Model User.login = function(data){    var user = new User;    user.email = data.email;    console.log('user email is => '…
Andrew Plummer
  • 1,150
  • 1
  • 12
  • 21
0
votes
0 answers

How to deploy an application with Node js, Express, Mysql database and Sequelize ORM on Railway?

I have that do the deploy of my application on RAILWAY and I used the deploy from Github repo. Happened an fail and in "DETAILS" appeared this: Save this in a file called railway.json to codify your deployments config. { "$schema":…
Study
  • 85
  • 1
  • 3
  • 8
0
votes
0 answers

Deploy in railway not working with gradle.build.kt

I need to deploy a aplication in railway, but any time returno this error: Caused by: java.lang.ClassNotFoundException: br.com.zezinho.helpdesk Error: Could not find or load main class br.com.zezinho.helpdesk My path is correct. github:…
0
votes
0 answers

listing the time from an api increase in plus 1

I have an error in listing an api that only use get and pull the normal database but at the time of listing increases me the date plus 1 and that in the database I register correct the api is normal and the same time zone q could it be? I have an…
0
votes
0 answers

Railway error deploying my server with nodejs saying hostname: 'undefined'?

This is on theRailway console: original: Error: getaddrinfo ENOTFOUND undefined original: Error: getaddrinfo ENOTFOUND undefined at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) { at GetAddrInfoReqWrap.onlookup [as oncomplete]…
0
votes
0 answers

npm ERR! PhantomJS not found on PATH in Railway

I have a node.js app in Railway. When it is buliding,I get an error: I install phantomjs package,but it still not work. How can I do?
Bryan
  • 1
0
votes
0 answers

Deploy Django project in railway

I try to move my project from HEROKU to RAILWAY, but i got this error When try to start a new project i get the same error Using Nixpacks context: 0fc4691a3fee078c9c01afe01d008723 Nixpacks build failed Error: Error reading runtime.txt Caused…
0
votes
0 answers

error uploading API REST + BD (express - sequelize - postgress) in railway

I use express and sequelize ORM to connect to a Postgres database on my laptop. In the deploy logs figures this. I was using Heroku, I'm new to railway ConnectionError [SequelizeConnectionError]: connect ETIMEDOUT 35.197.113.116:5432 at…
0
votes
0 answers

Promela, SPIN assertion violated

Following is my promela program of a railway station and my assertion is getting violated when I used "SETUP" function, kindly give me a workaround (SETUP process is mandatory) mtype = { T1, T2, ENTRY, PERMISSION, EXIT, EMPTY, ALLOWED, NOT_ALLOWED …
0
votes
1 answer

Railway ASP.NET app fails to build and I can't figure out why

I'm trying to deploy a website using railyway, but every time I try doing so I end up getting an error: #13 2.186…
0
votes
0 answers

Deploying github repository to Railway showing error 'ModuleNotFoundError''

I'm trying to deploy my django application to Railway using github but receiving this error from the deployment logs 'ModuleNotFoundError: No module named 'commerce.settings'. RAILWAY DEPLOYMENT LOG > File >…
Chuks
  • 59
  • 8
0
votes
0 answers

Express app doesn't work on production because of mixed content error

I build this app in my dev environment and all worked, but when I posted on railway it gave me a Mixed Content: The page at 'https://frr-search-production.up.railway.app/search/' was loaded over HTTPS, but requested an insecure form action…
0
votes
1 answer

Error in the environment variable with Railway in the ClientId in production, in local it works correctly

I'm deploy a Node.js application to production with Railway , using Google's SignIn. When placing the environment variables in Railway it shows me an error. But if it is the correct ClientId. How could I correct it? [The image shows the error,…
0
votes
1 answer

Cross-site request with credentials not working

I have a Nextjs app hosted on Vercel and a Nestjs API hosted on Railway (two different domains), and I am trying to make cross-site requests work. I have set up CORS and am no longer getting blocked by it. However, credentials are not being passed…
tavin-dev
  • 321
  • 3
  • 10
0
votes
1 answer

ConnectionError [SequelizeConnectionError]: connect ETIMEDOUT sequelize deploy on railway

I am trying to deploy my app using Nodejs, MySQL with sequelize as ORM on railway platform. But I saw this error: ConnectionError [SequelizeConnectionError]: connect ETIMEDOUT at ConnectionManager.connect…
Hung Vo
  • 66
  • 1
  • 10