Code Monkey home page Code Monkey logo

kubernates-oss-observability's Introduction

Node Web Application Demo

This is a simple full stack web application using below technologies:

  • Front End: Bootstrap, HTML, CSS, JavaScript, jQuery, AJAX
  • Back End: Node.js, Express framework
  • Database: MySQL

Getting Started

These instructions will get you a copy of the project up and running on your local machine for the development and testing purposes.

Prerequisites

What softwares you need to install:

  • Node.js - Install the appropriate version of node.js based on your Operating System
  • MySQL - Install the appropriate version of MySQL based on your Operating System
  • Postman - Install the Postman application to test the APIs

Installation

The below steps will help you to get the application running on your computer.

Step 1: Install the MySQL server and make sure it is up and running on port 3306. Open a client like MySQL Workbench and open a tab where queries can be executed. Copy the content of the mysql-database-schema.sql into the query editor and execute it. This will create a database named nodeapp with a table student and some content within the table.

Step 2: Download the application in the .zip format or clone the project in any directory on your computer.

Step 3: Using the terminal, navigate to the folder where package.json file is located. Enter below command to install all the required dependencies.

npm install

Step 4: Using the terminal, navigate to the folder where server.js file is located. Enter below command to run the application.

node server.js

After running the above command, you'll see below log in the terminal. This indicates that the node server is up and running.

Server is listening on port 8000....

Step 5: Open the Postman app and test the API endpoints.

http://localhost:8000/api/readData
http://localhost:8000/api/createData
http://localhost:8000/api/updateData

Note: Provide below in the header while testing from Postman

Authorization: SecureConnection

Step 6: The front end of the application can be accessed in the below URL:

http://localhost:8000/template.html

Help

If you'd require any help while installing and running the application, please open a git issue.

kubernates-oss-observability's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.