Giter Site home page Giter Site logo

muradbiskinimagefilterreview's Introduction

Code Review for Image Filter Project

So far so good, you're almost there , you might need to do some work to finish this project , Don't Stop , Keep learning with Udacity πŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺπŸ’ͺ

Engineering Process and Quality

❏ All project code is stored in a GitHub repository and this link has been submitted for review. There are at least two branches - one for development (dev, development) and one master. Master should contain the most up-to-date, stable code at the time of submission.

❌this part isnt satisfied as repo was deleted or missing 
"https://github.com/muradbiskin/udacity-cloud-developer-project-2"
try to push your code to the repo again and create master and dev branch to the repo and make sure to be public

image posted

❏ Any variables use typescript typing wherever possible, variable and function names are clear, endpoints are logically named. Good coding practices are followed.

βœ”οΈ	you satisfied this part but you might need more enhancements, always define types of variables .
πŸ’‘   example `app.get( "/", async ( req: any, res: any )`

Development Server

❏ Starting the server with npm run dev runs a local instance of the server with no errors

βœ”οΈ this part is working properly with no issues 

❏ The stubbed @TODO1 endpoint in src/server.ts is completed and accepts valid requests including: http://localhost:{{PORT}}/filteredimage?image_url=https://timedotcom.files.wordpr ess.com/2019/03/kitten-report.jpg

βœ”οΈ current image is corrupted and missing , i've used another image , it worked perfectly ..

image posted

❏ Successful responses have a 200 code, at least one error code for caught errors (i.e. 422)

❌	 for wrong urls it didnt work as expected ,response status return is 404 not 422 

image posted


πŸ’‘Always use try and catch in your code as it is the best pratice to handle errors that is unexpected use it in utils/utils.ts and server.ts

example
server.ts
try {
    res.sendFile(response);
} catch (err) {
    res.status(422).send("Please send the correct image_url");
}
utils.ts
   return new Promise(async resolve => {
        try {
   /*the code of the utils */
        } catch (err) {
            resolve(err.message)
        }

Elastic Beanstalk Deployment

❏ An endpoint URL for a running elastic beanstalk deployment (EB_URL) has been submitted along with the project submission. This endpoint responds to valid GET requests including: http://{{EB_URL}}/filteredimage?image_url=https://timedotcom.files.wordpress.co m/2019/03/kitten-report.jpg

❌ the elastic bean APP is not working nor responding , it seems it is off or deleted please start it again 

image posted

http://udacity-cloud-developer-project-2.eu-central-1.elasticbeanstalk.com/

❏ The project was deployed using the AWS Elastic Beanstalk CLI eb init, eb create, and eb deploy commands. A screenshot of the elastic beanstalk application dashboard is included in a deployment_screenshot directory.

βœ”οΈ this requirement is satisfied from screenshot attached 

image posted

muradbiskinimagefilterreview's People

Contributors

aliahmednada avatar

Watchers

James Cloos avatar  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.