An open API service indexing awesome lists of open source software.

https://github.com/lassiecoder/reactjs-spa

A single page application, including two user input fields (username and password) for login.
https://github.com/lassiecoder/reactjs-spa

Last synced: 3 months ago
JSON representation

A single page application, including two user input fields (username and password) for login.

Awesome Lists containing this project

README

          

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

### `Login.js`

![index](https://user-images.githubusercontent.com/17312616/78763782-3be95900-79a3-11ea-999f-db352e7ad469.png)

It contains two user fields, "User name" and "Password". By default the values are _admin_ for both input fields for succesful login.

### `Dashboard.js`

![dashboard](https://user-images.githubusercontent.com/17312616/78764104-b31eed00-79a3-11ea-95bc-c31d19ada0a3.png)

User will get the access of dashboard if loginned successfuly.

### `Error.js`

![error](https://user-images.githubusercontent.com/17312616/78764371-1446c080-79a4-11ea-80fa-ff680917964a.png)

If login failed, it will take the user to error page.