Git Product home page Git Product logo

melivrando's Introduction

Hi there I'm Bia 😸

Instagram beatrizalice00@gmail.com

👨‍💻 Mobile Developer

melivrando's People

Contributors

ibiaalice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

melivrando's Issues

Informações sobre instalar/iniciar o projeto

Oi @ibiaalice , gostei bastante da ideia do projeto e do protótipo de tela, achei bem objetivo assim dando para entender o que você planejar fazer de cara.

Uma sugestão que tenho é adicionar no README.md informações sobre como instalar/rodar a API e/ou o front (ou nesse caso, um link para o protótipo). Não consegui encontrar instruções sobre isso para testar a API, tentei rodar um node backend/server.js

Como cada projeto (front/back) tem um processo de instalação/inicialização diferente, você podia criar um README nos diretórios deles e no principal informar da existência.

É isso! Bom trabalho. 📚

Personalizando

Uma img/logo seria excelente para dar "cara" ao projeto.

props e mudança de estado interno

Consegui rodar a aplicação, mas não encontrei o uso de props (o this.props.history.push('/main') não funciona). Também não encontrei mudança de estado interno ...

export default function Login(props){
const [email, setEmail] = useState('');
function handleSubmit(e){
e.preventDefault();
this.props.history.push('/main')
}
return(
<div className='login'>
<form onSubmit={handleSubmit}>
<img className='logo' src={logo} alt='ML'/>
<h1 className='title'>Seja bem vindo, faça login para continuar </h1>
<input
placeholder='Digite o email de login'
value={email}
onChange={e => setEmail(e.target.value)}
/>
<input type='password'
placeholder= 'Digite sua senha'
/>
<button type='submit' className='buttom'>
<p className='enterButtom'>Entrar</p>
</button>
</form>
</div>

export default function Main() {
return (
<div className='Main'>
<h1>aqui vem o main</h1>
</div>
)
}

Sugestão para inserção de beforeEach

Percebi que o setup é chamado manualmente a cada teste realizado, talvez aqui seria bom usar um beforeEach que modifica uma variável dentro do describe que vai guardar os dados do teu container. Veja se é necessário passar {...book} ao invés de simplesmente book. Além disso, seria bom testar a props 'gender' também.

it('deve me retornar o titulo correto do livro', ()=>{
const {title} = setup({...book});
expect(title.innerHTML).toBe('Twilight');
});
it('deve me retornar o resumo correto do livro', ()=>{
const {resume} = setup({...book});
const resumeExpec ='When 17 year old Isabella Swan moves to Forks, Washington to live with her father she expects that her new life will be as dull as the town.But in spite of her awkward manner and low expectations, she finds that her new classmates are drawn to this pale, dark-haired new girl in town. But not, it seems, the Cullen family. These five adopted brothers and sisters obviously prefer their own company and will make no exception for Bella'
expect(resume.innerHTML).toBe(resumeExpec);
});

Correção do Readme

Gostei da ideia, porém tem uma inconsistência no README.md. Acredito que "Listar usuários" ficaria melhor que "Ler usuários" :)

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.