Git Product home page Git Product logo

ooi-intern-assessment's Introduction

UNICEF Office of Innovation Intern Assessment

Go as far as you can in the allotted time.

  1. Fork the repository
  2. Clone your forked repository
  3. npm install && cd client; npm install
  4. Setup and configure a database as per the configuration included in the repo
  5. Create a new branch fullstack-assesment
  6. To start the server: node index.js
  7. To start the client: cd client; npm run start

Front End

  1. Create a login/registration form.
  2. Register a new user.
  3. Login as the user.
    1. Display and style the server status if the user successfully logs in.
    2. Display an error page if unsuccessful.

Note the usage of 'proxy' in the client package.json

Back End

  1. Add a new route to the API for users.
    1. Look in /lib/api
    2. Complete PUT, POST, and GET endpoints
  2. Complete the logRequest middleware
    1. Log each request path.
    2. Log the user’s ip address
  3. Add a new property to the application
    1. startTime - timestamp when the server started
  4. Modify the getStatus function
    1. Add uptime - amount of time the server has been running
    2. Add the running applications current configuration

Database

  1. Create the new database model in /lib/db/models
    1. Decide on your own, sensible, properties.
  2. Wire your model into the db and application.

Submission

Once you complete the assignment, please make your repository private and invite mehranhydary and tenthirtyone to the repository so that your solution can be reviewed by UNICEF.

ooi-intern-assessment's People

Contributors

mehranhydary avatar tenthirtyone avatar lacabra 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.