Giter Site home page Giter Site logo

pointofinterestv2's Introduction

Enterprise Web Development Module - Point of Interest Web Application (Version 2)

Student Name: John Dennehy Student ID: 20091408

Introduction

“A “point of interest” (POI) is a location for which information is available. A POI can be as simple as a set of coordinates, a name, and a unique identifier, or more complex such as a three-dimensional model of a building with names in multiple languages, information about opening and closing hours, and a civic address. POI data has many applications, including augmented reality browsers, location- based social networking games, geocaching, mapping and navigation systems.”

I chose to focus on Irish national monuments for this assignment.

API

For this assignment, the Hapi framework was used to develop a backend API for CRUD operations around user and point of interest management. Another significant focus of this assignment was unit testing with Mocha. NYC (also know as istanbul) tool used to generate code coverage reports. API routes are secured using Json Web Tokens (JWT).

Postman can be used to test the API routes for this service. Just to note that the form-data module is used to wrangle payloads so interaction with the majority of the API routes around monuments requires use of the form-data data-type on Postman.

Form Data

To authenticate with the API, pass a successful JSON request with a valid email and password for an existing user. If successful, a JWT will be returned. This can then be subsequently used in other API requests to interact with the service.

Authenticate

To do that, copy the JWT token and set a new 'Authorization' header in Postman.

Get Users

Code Coverage

Code Coverage Overview

Technology Stack - BackEnd API

  • hapi
  • mongodb
  • Cloudinary
  • OpenWeather API
  • Joi
  • sanitizeHtml
  • JWT

Heroku Deployment

Here's a link to a live version of the application on Heroku: API Application Link

pointofinterestv2's People

Contributors

johndennehy101 avatar

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.