Giter VIP home page Giter VIP logo

naturalhr-challenge's Introduction

Natural HR - Coding challenge

Brief

Create a user registration and login system with the ability to upload a file, utilising vanilla PHP.

Index

Built an index file to perform lightweight routing, incorporating class/file validation, for request handling by breaking down request URL. .htaccess directs all traffic through index.php

Folder Structure

Built core application within an application folder, with a simplified rendition of an MVC pattern.

Authentication

Used a signed token stored as a cookie for user authentication. If not present or expired, user will be presented with the login/signup page.

Signup

Basic details, with email validation and minimum 8 character password.

File upload

Simple file upload via ajax, with some basic file type restrictions. Provided list of all uploaded files.

Database

Used a simple MySQL database to track user and user file records. Connected by the user id integer.

To do for production environment

To migrate to a production environment the following would need actioning:

  • SSL connection to database with verified CA cert
  • Ability to view and delete uploaded files
  • User management system - create/update/delete user records
  • Database migration tool
  • Improve responiveness of design
  • Hide signup behind a button click

naturalhr-challenge's People

Contributors

tom-pearce 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.