Skip to content

Instantly share code, notes, and snippets.

View CarlosLevir's full-sized avatar
🔥
Showtime!

Carlos Levir CarlosLevir

🔥
Showtime!
View GitHub Profile
<style>
html, body {
height: 100%;
}
body {
display: flex;
justify-content: center;
align-items: center;
background: #009587;
}
import { Base64 } from 'js-base64';
import { call, put, takeLatest } from 'redux-saga/effects';
import * as actions from '../actions/authActions';
import * as types from '../actions/types';
import * as API from '../api/authApi';
import DeviceStorage from '../utils/deviceStorage';
import * as NavigationService from '../utils/navigationService';
import * as routes from '../utils/routeTypes';
export function* login({ payload }) {
const mongoose = require('mongoose');
mongoose.connect(
`mongodb://<db_username>:<db_password><db_port>:<db_port>/<db_name>`,
{ useNewUrlParser: true },
);
# Dependências Necessárias
## Mac OS
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
## Windows
choco install -y python2 jdk8
<h1 align="center">
<br>
<img src="YOUR_LOGO_URL" alt="YOUR_PROJECT_NAME" width="120">
<br>
<br>
YOUR_PROJECT_NAME
</h1>
<p align="center">A little description about your project</p>
<h1 align="center">
<br>
<img src="YOUR_LOGO_URL" alt="YOUR_PROJECT_NAME" width="120">
<br>
<br>
YOUR_PROJECT_NAME
</h1>
<p align="center">A little description about your project</p>