Skip to content

Instantly share code, notes, and snippets.

View gHashTag's full-sized avatar
:electron:
NeuroCoder

Vasilev Dmitrii gHashTag

:electron:
NeuroCoder
View GitHub Profile
@gHashTag
gHashTag / FakeArray.js
Created May 14, 2020 16:18
Fake Array
import faker from 'faker'
import moment from 'moment'
const { image, name, date, lorem, random } = faker // eslint-disable-line
const createUser = () => {
return {
id: random.uuid(),
title: lorem.words(),
time: moment(date.past()).format('DD-MM-YYYY'),

Название проекта

@hackathonunicorn

Трек, к которому относится проект

TalantTech

Краткое резюме проекта с указанием имеющихся наработок и основных целей реализации проекта.

Мы fullstack serverless разработчики создаем мобильное приложение для fullstack serverless разработчиков. Если в одно приложение, то мы это Upwork + Patrion + Udemy для fullstack serverless разработчиков.

import * as React from 'react'
import { createStackNavigator } from '@react-navigation/stack'
import { Hello, SignUp, SignIn, ConfirmSignUp, User, Forgot, ForgotPassSubmit } from './screens/Authenticator'
const Stack = createStackNavigator()
const AppNavigator = () => {
return (
<Stack.Navigator
screenOptions={{
import React, { useState } from 'react'
import { Auth } from 'aws-amplify'
import * as Keychain from 'react-native-keychain'
import { Formik } from 'formik'
import * as Yup from 'yup'
import { AppContainer, Button, Space, Input, TextError } from 'react-native-unicorn-uikit'
import { onScreen, goBack } from '../../../constants'
const ForgotPassSubmit = ({ route, navigation }) => {
const [loading, setLoading] = useState(false)
import React, { useState } from 'react'
import { Auth } from 'aws-amplify'
import { Formik } from 'formik'
import * as Yup from 'yup'
import { AppContainer, Button, Input } from 'react-native-unicorn-uikit'
import { onScreen, goBack } from '../../../constants'
const Forgot = ({ route, navigation }) => {
const [loading, setLoading] = useState(false)
const [error, setError] = useState('')
import React, { useState } from 'react'
import { Auth } from 'aws-amplify'
import * as Keychain from 'react-native-keychain'
import { Formik } from 'formik'
import * as Yup from 'yup'
import { AppContainer, Button, Space, ButtonLink, TextError, Input } from 'react-native-unicorn-uikit'
import { onScreen, goBack } from '../../../constants'
const SignIn = ({ navigation }) => {
const [userInfo, setUserInfo] = useState('')
import React, { useState } from 'react'
import { Auth } from 'aws-amplify'
import { Formik } from 'formik'
import * as Yup from 'yup'
import { AppContainer, Button, Space, ButtonLink, TextError, Input } from 'react-native-unicorn-uikit'
import { onScreen, goBack } from '../../../constants'
const ConfirmSignUp = ({ route, navigation }) => {
const [loading, setLoading] = useState(false)
const [error, setError] = useState('')
@gHashTag
gHashTag / Form.js
Last active November 26, 2019 12:28
import { Platform } from 'react-native'
import t from 'tcomb-form-native'
import FloatingLabel from 'react-native-floating-label'
import {
LABEL_COLOR,
INPUT_COLOR,
ERROR_COLOR,
HELP_COLOR,
BORDER_COLOR,
DISABLED_COLOR,
import React, { useState } from 'react'
import { Auth } from 'aws-amplify'
import * as Keychain from 'react-native-keychain'
import { Formik } from 'formik'
import * as Yup from 'yup'
import { AppContainer, Space, Button, Input, TextError } from 'react-native-unicorn-uikit'
import { onScreen, goBack } from '../../../constants'
const SignUp = ({ navigation }) => {
const [loading, setLoading] = useState(false)
import React, { memo } from 'react'
import { StyleSheet, Text, View } from 'react-native'
import { RED } from '../../constants'
const styles = StyleSheet.create({
container: {
alignItems: 'center',
margin: 10
},
h1: {