Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend deployment suggestions #125

Closed
ayan-biswas0412 opened this issue Mar 16, 2021 · 12 comments
Closed

backend deployment suggestions #125

ayan-biswas0412 opened this issue Mar 16, 2021 · 12 comments
Labels
🌟 feature help wanted Extra attention is needed wontfix This will not be worked on

Comments

@ayan-biswas0412
Copy link
Owner

Is your feature request related to a problem? Please describe.
how to deploy properly the backend some ideas needed

@ayan-biswas0412 ayan-biswas0412 added help wanted Extra attention is needed 🌟 feature labels Mar 16, 2021
@ayan-biswas0412
Copy link
Owner Author

@singhayushh can you put your thoughts

@singhayushh
Copy link
Contributor

If this application is just a working prototype of the idea rather than a full fledged application, I'd recommend heroku as it is better suited for backend hosting.

@ayan-biswas0412
Copy link
Owner Author

If this application is just a working prototype of the idea rather than a full fledged application, I'd recommend heroku as it is better suited for backend hosting.

yah I also feel same can you provide me detailed steps to deploy to Heroku ?

@singhayushh
Copy link
Contributor

There are two ways by which you can deploy the app on heroku.
One is using just the online interface which is really very simple and easy to use. You just need to sign up on the heroku platform, create a new app followed by linking the repository and simply opting for automatic deployment or manual deployment.

The other is using git cli, if you like to work with the keyboard more than the mouse. Here's the official documentation with all necessary steps - View Docs

Note: To deploy on heroku, the repository needs to have a Procfile to hold the entry point to the web server (for this case, it'll be web: npm start)

@aniketsingh98571
Copy link
Contributor

@singhayushh @ayan-biswas0412 I think we are using nodejs in this project, so will it be required to add serverless functions to it...because I have one of my projects made using nodejs but as soon as I deployed it on netlify it gave an error regarding you need serverless functions for it........

@singhayushh
Copy link
Contributor

I have deployed general nodejs applications on heroku before without the errors you mentioned of. But if we are able to add serverless functions, it'll be really great as there are a lot of advantages of serverless apps.

@aniketsingh98571
Copy link
Contributor

I have deployed general nodejs applications on heroku before without the errors you mentioned of. But if we are able to add serverless functions, it'll be really great as there are a lot of advantages of serverless apps.

Can you guide me how to deploy this on netlify or heroku

@singhayushh
Copy link
Contributor

Can you guide me how to deploy this on netlify or heroku

You need to have your app.js in the root directory. Workaround for sub directories -> View Solution

@ayan-biswas0412
Copy link
Owner Author

@singhayushh can you guide me like our backend folder is only needed to be deployed in the Heroku (not the entire repo so how to do that)

@ayan-biswas0412
Copy link
Owner Author

also @singhayushh please open issues regarding backend

@singhayushh
Copy link
Contributor

Okay. I'll need a week's time though. Have exams going on. Please excuse me for a week 😅

@stale stale bot added the wontfix This will not be worked on label Apr 1, 2021
Repository owner deleted a comment from stale bot Apr 2, 2021
@stale stale bot removed the wontfix This will not be worked on label Apr 2, 2021
@stale
Copy link

stale bot commented Apr 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 17, 2021
@stale stale bot closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 feature help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants