Giter VIP home page Giter VIP logo

placer-demo's Introduction

Live

https://dmsqgl-5173.csb.app/

Placer.ai Demo

Take Home Assignment: Please create a sign-up form with React in CodeSandbox Requirements:

  • React with Hooks + Typescript
  • Do not use 3rd party npm libraries like React-Hook-Form, Material UI etc.
  • Focus is on code structure/scalability and not on the design, but it should look clean and aesthetic
  • Please follow the Don't Repeat Yourself (DRY) programming principle.
  • Include flow for obtaining/storing universal tutorial access token within the application

Signup form should contain the current fields:

  • First name

  • Last Name

  • State*

  • City*

  • Email

  • Password *State and City will be dropdowns. City will be the outcome of state selection. Expected validations:

  • All fields are required

  • Email should be valid

    We will be leveraging the universal tutorial website below to get the state and city response Instruction for accessing this API are under: https://www.universal-tutorial.com/rest-apis/free-rest-api-for-country-state-city

    API Endpoint for getting states: https://www.universal-tutorial.com/api/states/United States

    API Endpoint for getting cities: https://www.universal-tutorial.com/api/cities/[state name]

    After all the validations are passed, perform the submit. (We are not making the API call) Submit should console log the body (POST request body - JSON) { firstName: ‘’, lastName: ‘’, state: ‘’, city: ‘’, email: ‘’, password: ‘’, } Once complete, please share us with the link to the codesandbox

Good Luck!

placer-demo's People

Contributors

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