From 7fea75f6c5b005300dc8d24c40f0f8617ce43544 Mon Sep 17 00:00:00 2001 From: Scofield Idehen <83707090+Scofield-Idehen@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:17:24 -0700 Subject: [PATCH] Update README.md Made the grammar easier to follow and much more easier to read --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9cd963b..4c70da6 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,19 @@ An example of how to set your Node.js application up to enable deployment on Kinsta App Hosting services. --- -Kinsta is a developer-centric cloud host / PaaS. We’re striving to make it easier for you to share your web projects with your users. Focus on coding and building, and we’ll take care of deployment and provide fast, scalable hosting. + 24/7 expert-only support. +Kinsta is a developer-centric cloud host / PaaS. We’re striving to make it easier for you to share your web projects with your users. Focus on coding and building; we’ll take care of deployment and provide fast, scalable hosting. + 24/7 expert-only support. - [Start your free trial](https://kinsta.com/signup/?product_type=app-db) - [Application Hosting](https://kinsta.com/application-hosting) - [Database Hosting](https://kinsta.com/database-hosting) ## Dependency Management -During the deployment process Kinsta will automatically install dependencies defined in your `package.json` file. +Kinsta will automatically install dependencies defined in your `package.json` file during the deployment process. ## Web Server Setup ### Port -Kinsta automatically sets the `PORT` environment variable. You should **not** define it yourself and you should **not** hard-code it into the application. Use `process.env.PORT` in your code when referring to the server port. +Kinsta automatically sets the `PORT` environment variable. You should **not** define it yourself and **not** hard-code it into the application. Use `process.env.PORT` in your code when referring to the server port. ``` app.listen(process.env.PORT, () => { @@ -25,7 +25,7 @@ app.listen(process.env.PORT, () => { ``` ### Start Command -When deploying an application Kinsta will automatically create a web process with `npm start` as the entry point. Make sure to use this command to run your server. If you would like to use another command you will need modify the runtime process in MyKinsta. +Kinsta will automatically create a web process with `npm start` as the entry point when deploying an application. Make sure to use this command to run your server. If you want to use another command, you must modify the runtime process in MyKinsta. ``` "scripts": { @@ -37,7 +37,7 @@ When deploying an application Kinsta will automatically create a web process wit Whenever a deployment is initiated (through creating an application or re-deploying due to an incoming commit) the `npm build` command is run, followed by the `npm start` command. ## What is Node.JS -Node.js is a runtime environment that allows developers to execute JavaScript code outside of a web browser, enabling server-side scripting and building scalable network applications. It utilizes an event-driven, non-blocking I/O model, making it efficient for handling concurrent requests and real-time applications.. Learn more on [nodejs.org](https://nodejs.org). +Node.js is a runtime environment that allows developers to execute JavaScript code outside a web browser, enabling server-side scripting and building scalable network applications. It utilizes an event-driven, non-blocking I/O model to handle concurrent requests and real-time applications efficiently. Learn more on [nodejs.org](https://nodejs.org). ## Watch How to Set Up a Node.JS Application on Kinsta [![Watch the video](https://img.youtube.com/vi/JBbyMn7dNys/maxresdefault.jpg)](https://www.youtube.com/watch?v=JBbyMn7dNys)