Coder Social home page Coder Social logo

code_task's Introduction

You will need to create a database itrm_test

then run the migrations.

CLI /root_path/ php index.php migrate migrate

then navigate to http:///code_task/index.php/admin/login

William I have added some test

Technical Challenge - Code task example

Scenario

You are working in a team of backend developers (So your work will be interacting with modules developed by other developers, and may later on be modified/extended by others) in a project to build a website for our client, You've been assigned the following task.

Objective

Use TDD approach to create a registration/login form and a profile page for managing user data (we use laravel framework in the office, but you are not limited to this)

We have provided a basic test framework which is described in the setup section. You are not limited to this framework.

Contact us

If you have any questions regarding this test please email ITRM at [email protected] and I will get back to you as soon as possible (core office hours 9-5).

Setup

Clone the repository and run from the within the projects base directory

composer install

Run the following to run the tests; you should see phpunit output of 1/1 100% successful test

./vendor/bin/phpunit

Specification

  • Users should be able to register by providing the following details
    • email (required)
    • password(required, confirm password in some way)
    • title (Mr,Mrs,Miss,Ms,Dr)
    • forename
    • surname
    • dob
    • gender
    • addresses
      • address line 1 (required)
      • address line 2 (address line 1 and 2 combined should have less than 60 characters)
      • town (required)
      • county
      • country (required)
      • post code (required)
      • from date (required, need to be before until date and on/after dob)
      • until date (required, need to be after from date)
  • User should have at least 1 address record (current address), and able to add more addresses (previous addresses)
  • User data should be validated (You need to decide what is valid data for each field) and stored (You choose how the data is stored)
  • User should be able to login after registering, and see their details
  • User should be able to update their details, add/edit/delete address records
  • User should be able to log out of the site

code_task's People

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.