Hosting a NodeJs React app with Lightsail [closed] - reactjs

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am very new with hosting.
I built an app with React, NodeJs, Express. Classic MERN project.
I wonder how to host it ? I read about Amazon Lightsail, but I have to choose OS.
If I pick Ubuntu, will I be able to install Nodejs, npm, host my API with https, etc ?
Thank you for infos guys.

You seem to be asking a few things here.
In terms of how you should be hosting: depending on your goals, Amazon Web Services may be a little more than you're looking for at the moment. If you're just getting started with web hosting and deployment I would highly recommend taking a look at something more straightforward(and free!) such as Heroku. This might help you get a grasp on the process of deployment, and they have a decent getting started guide specifically for node.
That said, if you are certain you'd like to dive in with Amazon Web Services there are several different services available to choose from (including lightsail) that you also may want to consider before continuing.
And finally to answer your main question: Yes, if you choose an Ubuntu distro for an OS you will indeed be able to install npm, node, and all the packages you'll require for your app (likely via a command line interface). I am not personally familiar with the specifics of Lightsail, but they have their own getting started guide you might want to read through for linux setups.

Related

Hosting MERN Application on Vercel [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 16 hours ago.
Improve this question
Deployment MERN App on Vercel
I've been using Vercel to host several React web applications and it's been great! Recently, I upgraded an existing project with a backend (Express.js and MongoDB Atlas) and I'd like to host it there as well.
I would like to know if the configuration that I've put in my repository is correct in order to make it work on Vercel. Vercel's documentation focuses on serverless deployment, and while I don't mind rewriting my backend if I have to, I'm wondering if there's an easier solution for adding a server/database.
The MERN stack is still relatively popular so I imagine a lot of developers have found a way to host this kind of project. If anyone can help, I would really appreciate it
Here is my repo: https://gitlab.com/narcamarco/project-tours

Can I deploy a react-app to the SAP Cloud Platform? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Is it possible to deploy a react-redux application to the cloud foundry environment of the SAP Cloud Platform and is it a supported way of the new SAP Cloud Application Programming Model ?
I cannot find any official resources on that so far.
Sure you can do it. You can build a CAP backend app (with a HANA db for example), add an HTML5 frontend app with any framework you like (React, Angular, Vue, etc...) and glue it all together with the App Router, for dispatching your calls.
Here explained step-by-step how to do this:
https://blogs.sap.com/2020/09/01/how-to-build-end-to-end-custom-applications-in-cloud-foundry/?update=updated
To answer your first question, Yes It should be possible to deploy a react-redux based JavaScript application on SAP CF. You can use the static buildback for on cloud foundry. You can check the documentation here.
To answer your second question, I am not completely sure about that, But you can use CAP to generate your database and OData services, and consume them in your application. Additionaly you can check SAP fundamental react

AngularJs Web app skeleton template [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am thinking of creating a web app using angularjs for learning purposes from scratch.
And I need to know what are the tools I can use to generate a basic structure of my app as starting point for development.
I've found angular-seed from here. Now, what are other options we can use? Possibly pros and cons.
I know I can use angularjs like on ASP.NET website.
This question will generate an opinionated responses but this could help me determine what direction I should take before starting :)
AngularJS is a client side MVC framework to create a fast website. Anyways it won't replace ASP.NET as it's a server side framework.
Using AngularJS, you can create a SPA which means Single Page Application.
When you choose to use AngularJS as client side framework, you have to still choose the server side framework such as ASP.NET, NodeJS, PHP, JAVA etc.
Angular-seed which you mentioned above is the good starter for beginners which is using NodeJS as server side runtime and you can start it by carefully following the instructions given in the github page.
If you intend to choose ASP.NET or MVC as your server side programming, you can follow the instructions given in the below links to start.
https://learn.microsoft.com/en-us/aspnet/core/client-side/angular
http://codehandbook.org/web-app-using-angularjs-and-asp-net-mvc-4/
http://www.codeproject.com/Articles/806029/Getting-started-with-AngularJS-and-ASP-NET-MVC-Par
An option which I use and could be useful to you too is Yeoman.
What's Yeoman?
Yeoman helps you to kickstart new projects, prescribing best practices
and tools to help you stay productive.
Simply install using:
npm install -g grunt-cli bower yo generator-karma generator-angular
Get started here using:
yo angular [app-name]

Connecting to Heroku DB via Android APP with play on server side [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am new to Heroku and playframework.
trying to create a project where i can update and read DB via android / ios app i am developing.
I would like to create some sort of service using play framework that when requested by android/ios app will update db (security here is important).
how do i create such service ? if answer is to complex is there a tutorial i can be flowered to ?
appreciate the help.
EDIT:
I realize my question might be general/unfocused (due to my own lack of knowledge).
i will try to elaborate.
my purpose is to build an app for my kids kindergarten where the caretakers can update messages to parents in the website interface and the application will read these messages from the data base. i understand it is not recommended that an application read directly from DB but use a service. as my web site is built with playframework and hosted on heroku i was wondering how do i get this all to connect ?
Actually it's hard to guess what are you asking about...
I'd suggest to build JSON API with Play application which handles JSON requests, from your mobile apps. Quite simple case, however you ned to put some effort for planning.
Although we don't know much about your approach, most probably hmac signature for authentication will be good enough for this kind of job.

Looking for substantial open source GWT/App-Engine project to use as reference [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm working on GAE-J/GWT app, wherein a desktop app connects to the GAE-J component, and there is also a web-app component whose front-end is written in GWT, and the GAE-J backend supports both the desktop app and the web app.
I have a good amount of experience with writing pure server code and desktop code, but not so much on the web-app side of things. So I'm looking to study some good sophisticated open source code to see how other's have done things, but I can't find much open source GWT and/or GAE-J stuff, other than frameworks. Does anyone know of any good projects out there?
I've written a little app called SixFixMix that uses the following stack: GWT, GIN, dyuproject (for OpenID), gwt-mobile-webkit (for HTML5 Geolocation), gwt-google-apis (for Maps), gwt-log, gwt-presenter, gwt-dispatch, Objectify, and GAEJ. Good luck!
There isn't any GWT in it (yet?) but Partychat (Google Code Project) is a moderately-sophisticated open-source Java App Engine app that simulates multi-user chatrooms using the XMPP service.
I'm sure there are more sophisticated apps out there, and some that include a GWT component, but I figured I'd take the chance to self-promote when it's given :)
GWT tagged open-source projects on google code hosting.
maybe that can help you http://code.google.com/webtoolkit/articles/mvp-architecture.html

Resources