GithubHelp home page GithubHelp logo

shopify-backend-challenge-fall-2020's Introduction

Image Repository

Built for Shopify's Fall 2020 internship backend challenge. Uses MongoDB, Express, React, and NodeJS.

Features

This current iteration of the repository allows the user to register and/or authenticate into the site. Single images can be uploaded to the repository, where they will be displayed on the home page. Images not associated with any account are by default public, whilst images uploaded by a user can be specified to be either private or public. In the former case, they will only be visible to the user who uploaded them.

Screenshot of homepage.

How to Run

  1. Clone this git repository
  2. npm install
  3. npm run backend
  4. npm run frontend

Application will be running at http://localhost:3000 (server will run at port 5000).

Next Steps

The simplest next step would be to grant users the ability to delete images they've uploaded to the repository. This can be easily accomplished by adding another endpoint that could handle a POST request containing specifications of the image that should be deleted, and then verifying the identity of the user by checking a token (in the same way that GET image requests are doing now to make sure that users are not able to access private images posted by others) before doing the actual deletion action. It would also be a good idea to add in testing by bringing in test runners like Jest, etc.

shopify-backend-challenge-fall-2020's People

Contributors

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