Git Product home page Git Product logo

guess-my-number's Introduction

Guess My number

Description of the assignment

Exercise description:

  • Create an interface that allows a user to enter a number in a certain range.
  • There has to be a predefined number hidden from the user.
  • The user should know what that range is and should be able to have three attempts.
  • Every time the user enters a number, this will be logged in a database and show in the interface the number of intents.
  • If the user enters a number that matches the predefined number, a success message should be shown.
  • If the user exceeds the number of attempts an message should be shown communicating it.

Deliverables:

All application files plus the database dump in a zip file.

Installation

Dependencies

  • node and npm
  • Ensure you're running the latest versions Node v4.1.x+ and NPM 2.14.x+
  • mongodb installed on localhost listening to port 27017

Once you have those, you should install these globals with npm install --global:

  • webpack (npm install --global webpack)
  • webpack-dev-server (npm install --global webpack-dev-server)
  • karma (npm install --global karma-cli)
  • protractor (npm install --global protractor)
  • typings (npm install --global typings)
  • typescript (npm install --global typescript)

Clone the repository

git clone [email protected]:edoardo849/guess-my-number.git

# Enter in the repository
cd guess-my-number

# install the repo with npm
npm install

# start the server
npm start

# In another Terminal Tab install the backend dependencies
cd backend && npm install
cd ..

# Start the backend
npm run backend

# Run tests
npm run test

guess-my-number's People

Contributors

patrickjs avatar sekibomazic avatar dotcs avatar jimthedev avatar chriscurnow avatar samvloeberghs avatar asgerjensen avatar edoardo849 avatar jennyraj avatar valorkin avatar ocombe avatar tamascsaba avatar vivainio avatar vladotesanovic avatar nathanwalker avatar kennyt avatar jamesthurley avatar carlosliu avatar mchapman avatar deleonio avatar m00s avatar mlix11 avatar crankeye avatar blackbaud-paulcrowder avatar peteralbert avatar rwillmer avatar rjmreis avatar robrich avatar shlomiassaf avatar srt32 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.