Giter VIP home page Giter VIP logo

wiser-challenge-login's Introduction

Wiser Challenge

This is a project that uses Next.js to serve a React Login Page, featuring:

  • Responsive design
  • Form validation
  • User state management simulation
  • Communication with simulated back-end API

Running in development mode

To make changes or work in a local environment, first clone this repository and install dependencies. Then, run npm run dev:

git clone https://github.com/MikeFP/wiser-challenge-login.git
npm install
npm run dev

Deploying for production

To run this project in a production server, build and run the site with the following commands:

npm install
npm run build
npm start

Note: If you are already running a webserver on port 80 (e.g. Macs usually have the Apache webserver running on port 80) you can still start the example in production mode by passing a different port as an Environment Variable when starting (e.g. PORT=3000 npm start).

Running tests

To run the tests from the command-line, use npm run cypress:run. A video recording of the tests will be recorded and stored in the path cypress/videos.

To run and inspect the tests visually in your browser of choice, use npm run cypress:open and click on a test on the list to run it.

Feature notes

For mock purposes, each login attempt alternates between success and error responses.

wiser-challenge-login's People

Contributors

mikefp avatar

Watchers

 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.