R
Railway16mo ago
eg102

how to host python backend with react frontend on railway

Hello, I am new to railway, I am using aiohttp python socketio async server with react frontend. This is error I got: Nixpacks build failed  Nixpacks was unable to generate a build plan for this app. Please check the documentation for supported languages: https://nixpacks.com  The contents of the app directory are: I’ve added a procfile which is : python link to my backend. Is this all I need to add or is there something I am missing. Any help would be appreciated thanks
Getting Started | Nixpacks
App source + Nix packages + Docker = Image
262 Replies
Percy
Percy16mo ago
Project ID: N/A
eg102
eg10216mo ago
N/A
Brody
Brody16mo ago
can you share a link to your repo?
eg102
eg10216mo ago
It’s privated tho it’s basically: Folder1forbackend: Inside> myserver.py Folder2forfrontend: Inside> Folder> just some js and html files: package-lock.json package.json .gitignore file Procfile This is basically exactly how it’s like
Brody
Brody16mo ago
create react app?
eg102
eg10216mo ago
There’s also plenty of other files in the folder 2 file for react But I’m wondering what is the guidelines for hosting this cuz it keeps crashing
Brody
Brody16mo ago
? i could give you exact guide lines if i could see the repo
eg102
eg10216mo ago
damn cuz it’s not just my repo Dk what u mean by this I’ve created a react app yes
Brody
Brody16mo ago
using what? create-react-app or vite
eg102
eg10216mo ago
create-react-app pretty sure
Brody
Brody16mo ago
can i see a screenshot of the repo lol you arent giving me much to work with
eg102
eg10216mo ago
Alr For sure bro lol my bad
eg102
eg10216mo ago
eg102
eg10216mo ago
Wanna see something specific
Brody
Brody16mo ago
lets focus on getting the frontend running first, so show me a screenshot of the frontend folder
Want results from more Discord servers?
Add your server