This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: email-api | |
plugins: | |
- serverless-webpack | |
- serverless-offline #must be last | |
provider: | |
name: aws | |
runtime: nodejs10.x | |
stage: dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
export default class Login extends React.Component{ | |
constructor() { | |
super() | |
this.state = { | |
username: '', | |
password: '', | |
isLogined: false | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.learning; | |
/* package whatever; // don't place package name! */ | |
import java.util.HashMap; | |
class Entry { | |
int value; | |
int key; | |
Entry left; | |
Entry right; |