Git Product home page Git Product logo

udacity_webapp's Introduction

Udagram Image Filtering Microservice

Udagram is a simple cloud application developed alongside the Udacity Cloud Engineering Nanodegree. It allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering microservice.

Setup Node Environment

  1. Initialize a new project: npm i
  2. run the development server with npm run dev

Deploying your system

Follow the process described in the course to eb init a new application and eb create a new environment to deploy your image-filter service! Don't forget you can use eb deploy to push changes.

Refactor the course RESTapi

ADD user is being add as an endpoint AND GET method requires authentication!

How the code is structured

In file scr/server.ts - I commented out requireAuth function for authentication of users. For easy review.

If you use this funtion you have to provide access token in order to recive an image. From the project use teodor_webdev-final.postman_collection.json in Postman.

With POST http://{{HOST}}/auth and JSON {email, password} you can create new user and its going to retrive a token.

Use that thoken in Postman -> GET http://{{HOST_EB}}filteredimage?image_url= -> Authorization -> OAuth 2.0

There are 2 variables: 1. Host -> for localhost 2. HOST_EB -> elastic beanstalk

http://app-final-web-dev.us-east-1.elasticbeanstalk.com/ --- EB URL

udacity_webapp's People

Contributors

pythontedo 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.