Giter Site home page Giter Site logo

site-week3-lab1-gift-giver-starter's Introduction

Gift Giver Lab

A client has asked you to create an app that operates as a competitor to Elfster. They're a company valued at $6 million that creates gift exchanges for families and friends.

Your client thinks they have a few killer features that could improve on Elfster's design and allow them to compete in the market. But first, they need a backend product to work with. They'd like you to build the prototype using Node and Express.

Getting Started

Run npm install to install required dependencies, then npm start to start the server.

Application Features

Core features

  • Create the Express application and wire up the middleware should be written in the app.js file
  • Code to run the API located in the server.js file, where it should import the Express application from the app.js code and then make sure it listens on port 3000.
  • A GiftExchange model that implements two different gift-exchange algorithms.
  • An Express router living at the /gift-exchange endpoint to handle requests for the two different algorithms
  • Logging and error-handling middleware to enable more seamless interaction with the API

Stretch Features

  • Implement a /quiz endpoint that responds GET requests with quiz questions for the user to answer
  • Implement a /quiz endpoint that responds to POST requests with results for the user's quiz answers
  • Implement a quizResult function in the GiftExchange model that calculates a score based on the user's input and responds with a type of gift that the user might enjoy

site-week3-lab1-gift-giver-starter's People

Contributors

hannah-wal avatar jamjamgobambam avatar jastor11 avatar outdoorsole avatar paigegodfrey avatar

Stargazers

 avatar  avatar  avatar

Watchers

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