An open API service indexing awesome lists of open source software.

https://github.com/app-generator/blog-sample-nodejs-introduction

Node JS For Beginners - Blog Article (With Samples) | AppSeed
https://github.com/app-generator/blog-sample-nodejs-introduction

appseed-sample node-js tutorial

Last synced: 4 months ago
JSON representation

Node JS For Beginners - Blog Article (With Samples) | AppSeed

Awesome Lists containing this project

README

          

# [Node JS For Beginners](https://blog.appseed.us/node-js-for-beginners-practical-guide/)

A simple Node.js application that returns `Hello World` when you browse `localhost:3000/api` on your local host and returns an attractive web page when you open localhost:3000 in your browser.
This `Node.js` application is also containerized and can be run with single docker command. We shall list both manual and Docker commands to run this application.


> Sample Code provided by [NodeJS For Beginners](https://blog.appseed.us/node-js-for-beginners-practical-guide/) - Provided by AppSeed


# Running the `NodeJS App` via Docker

```bash
$ docker-compose up --build
```


# Running the `NodeJS App` manually

- Clone the repository
- Open the repository in VS code or your favourite IDE
- Run `npm i`
- Run `node server.js`

Once all the commands are executed, we should see a `pixel-perfect` Boostrap 5 Design running in the browser `http://localhost:3000`:


![NodeJS for Beginners - Practical Guide, blog article provided by AppSeed.](https://user-images.githubusercontent.com/51070104/163002840-6d5fb32c-2a7a-45f7-aa1c-72e742532980.jpg)


---
[Node JS For Beginners](https://blog.appseed.us/node-js-for-beginners-practical-guide/) - Sample Code provided by [AppSeed](https://appseed.us)