RESTful API using Hapi NodeJs Framework. This app is project from Dicoding Couses, Belajar Membuat Aplikasi Back-end untuk Pemula

Overview

🤩 Notes App using HAPI NodeJs Framework 🤩

Project Structure

  • src folder
    • handler.js = Contains all the handler functions used in the routes.
    • notes.js = Loads data records stored in the form of an array of objects.
    • routes.js = Load the server routing configuration code such as specifying the path, method, and handler used.
    • server.js = Loading code to create, configure and run an HTTP server using Hapi

How to use this code


  • download all files
  • re-install nodemon
    npm i nodemon --save-dev
  • re-install hapi framework
    npm i @hapi/hapi
  • re-install nanoid
    npm i nanoid
  • run server
    npm start
  • To use the program, visit this link and set Web Server API with your local server
  • Voila, you can try the program 😍

if you can't run the program, it's because of the browser. If you are using chrome, visit chrome://flags/#block-insecure-private-network-requests and disable Block insecure private network requests.
don't forget to restore the chrome settings as before after the program is finished using.

You might also like...

Back-end desenvolvido com NodeJS, TypeScript, Prisma e Express para prover dados para as aplicações em desenvolvimento.plicações do evento NLW eSports.

Back-end desenvolvido com NodeJS, TypeScript, Prisma e Express para prover dados para as aplicações em desenvolvimento.plicações do evento NLW eSports.

NLW eSports Back-End Aplicação back-end para surprir as necessidades de dados das demais plataformas desenvolvidas que são citadas mais abaixo. Este s

Sep 17, 2022

Front-End for the RESTful implementation of Texta Toolkit

TEXTA This project was generated with Angular CLI version 7.3.8. Configuration Configuration properties Name Description apiHost texta-rest API Host (

Dec 16, 2022

long-term project untuk menunggu lebaran (update versi always bro) wkwkwk

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Jan 3, 2023

Rest API untuk mengumpulkan jokes receh dan meme dari Indonesia

Candaan API 😁 Candaan API merupakan Rest API yang dibuat untuk mendapatkan beberapa jokes jokes receh dari Indonesia, semua data data yang ada di Can

Jan 3, 2023

Lolis-rest - RESTful API for lolis-api

Lolis REST RESTful + Website for Lolis API. Introduction This is a RESTful API which will be used on Lolis API Website and Wrapper. This API uses Imgu

Aug 11, 2022

📜 TypeScript Project Template for Back End Development

TypeScript Project Template Back End Development Project Template Browse TypeScript code» Built With Table of Contents Installation and Usage Error Ha

Dec 31, 2022

School App / Back-End with MongoDB / mongoose / Express / TS

TEST Api Dependencies El mati se la come es por eso que en 1998 la guerra fria se llevo a mas de la mitad del activo del pais "dependencies": { "axios

Jun 10, 2022

A back-end web app allows you to register and login to access a secrets page

A back-end web app allows you to register and login to access a secrets page

Oct 30, 2022

🎵 simple and RESTful API for getting lyrics of any song made using Next.js and ChakraUI.

🎵 simple and RESTful API for getting lyrics of any song made using Next.js and ChakraUI.

playground . guide . discord Overview Lyrist is a simple yet powerful RESTful API for getting lyrics of any song using song name and it's artist name.

Dec 17, 2022
Owner
Muhammad Ferdian Iqbal
Muhammad Ferdian Iqbal
IKARUS (Info Kamar Rumah Sakit) adalah aplikasi untuk mencari ketersediaan kamar rumah sakit di Indonesia.

ikarus IKARUS (Info Kamar Rumah Sakit) adalah aplikasi untuk mencari ketersediaan kamar rumah sakit di Indonesia. Fitur : Mencari ketersediaan kamar r

Devin Winando 22 Aug 17, 2022
Personal Blog - a project developed with Angular for the front-end interface and Wordpress for the back-end API served with Docker containers

PersonalBlog This project was generated with Angular CLI version 13.0.1. Front-end Interface Development server Run ng serve or ng serve --configurati

null 9 Oct 5, 2022
Hanya pemula..

RYUBOTZ ADD BUILDPACK > heroku/nodejs > https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest > https://github.com/clhuang/heroku-buildpack-we

null 5 Apr 30, 2022
It consists of a recreation of Twitter, to put into practice both Front-end and Back-end knowledge by implementing the MERN Stack together with other technologies to add more value to the project.

Twitter-Clone_Back-end ✨ Demo. ?? About the project. ?? Descriptions. It consists of a recreation of Twitter, to put into practice knowledge of both F

Mario Quirós Luna 5 Apr 12, 2022
It consists of a recreation of Twitter, to put into practice knowledge of both Front-end and Back-end implementing the MERN Stack along with other technologies to add more value to the project.

Twitter-Clone_Front-end ✨ Demo. Login Home Profile Message Notifications Deployed in: https://twitter-clone-front-end.vercel.app/ ?? About the project

Mario Quirós Luna 5 Jun 26, 2022
Run REST APIs in Node.js applications frameworks (Express, Koa, Hapi and Fastify) on top of any Serverless Cloud.

?? Serverless Adapter Install | Usage | Support | Architecture | Credits Run REST APIs and other web applications using your existing Node.js applicat

Vinicius Lourenço 45 Jan 1, 2023
Sumber kode dan kurikulum terbuka ngoding.org. Belajar pemrograman secara gratis.

Kode sumber dan kurikulum terbuka ngoding.org ngoding.org merupakan sebuah komunitas sumber terbuka yang memiliki misi untuk menyediakan sumber belaja

ngoding.org 1 Nov 13, 2022
Pass trust from a front-end Algorand WalletConnect session, to a back-end web service

AlgoAuth Authenticate to a website using only your Algorand wallet Pass trust from a front-end Algorand WalletConnect session, to a back-end web servi

Nullable Labs 16 Dec 15, 2022
Web-Technology with Aj Zero Coding. In this tutorial we learn front-end and back-end development.

Installation through NPM: The jQWidgets framework is available as NPM package: jQuery, Javascript, Angular, Vue, React, Web Components: https://www

Ajay Dhangar 3 Nov 19, 2022
Here's a RESTful API that interacts with a PostgreSQL database written in NodeJS with Typescript, RESTify, and Sequelize ORM.

Basic description REST (Representational State Transfer) is a standard architecture for building and communicating with web services, It typically man

Olabisi Oduola 2 Jan 14, 2022