Giter VIP home page Giter VIP logo

meat-app-final's Introduction

Meat - Angular Application

Este respositório contém a implementação da aplicação feita no curso de Angular. O bundle para começar o seu projeto está aqui.

1. Passos para começar

Instalando as Dependências

npm install

Inicializando o Servidor

ng serve ou npm start

2. Iniciando o Backend

Instalando o json-server

npm install -g json-server

Iniciando o serviço (raiz da aplicação)

json-server db.json

Goodies

Expressões regulares usadas na validação de formulários

Email Regex

/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i

Number Regex

/^[0-9]*$/

meat-app-final's People

Contributors

tarsobessa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meat-app-final's Issues

Nova Versão ?

Bom o projeto ficou bonito mas tem algumas coisas que não ficaram boas, por exemplo por esse código ai em baixo. Tinha que ter um arquivo de cabeçalho separado, ficou muito acoplado. Outra coisa a falta de um Web Service de verdade usando por exemplo strongloop.
Veja um curso Grátis que tem paginação e WebService de verdade 👍
http://kazale.com/curso-angular-2-aula-10-acesso-http-um-servidor-remoto/

Veja Um CRUD que fiz:
https://www.youtube.com/watch?v=wMsznbx-4rs&t=17s
https://github.com/DevJoseWeb/clienteBetha

Espero que as criticas construtivas faça surgir uma nova versão..

Abraço..

Erro ao rodar ng build --prod

@tarsobessa

Tive este problema problema na minha app, aí resolvi clonar este repositório da app final e tive o mesmo problema.

Segue o log:

PS C:\xampp\htdocs\Angular\meat-app-final> ng build --prod
Hash: 57640a762605f41e65eb
Time: 20597ms
chunk    {0} polyfills.dce5c8fed332dbd66357.bundle.js (polyfills) 486 kB {5} [initial] [rendered]
chunk    {1} scripts.cd503d55f02648afcc1d.bundle.js (scripts) 139 kB {5} [initial] [rendered]
chunk    {2} styles.f1725cdcd1678252d451.bundle.css (styles) 334 bytes {5} [initial] [rendered]
chunk    {3} main.75bc3613058a49dc70dd.bundle.js (main) 1.52 kB {4} [initial] [rendered]
chunk    {4} vendor.1269e4bc40c5d548c8a1.bundle.js (vendor) 1.29 MB [initial] [rendered]
chunk    {5} inline.c97077a27db7bc0fc4da.bundle.js (inline) 0 bytes [entry] [rendered]

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'C:\xampp\htdocs\Angular\meat-app-final\src'
 @ ./src/main.ts 5:0-74
 @ multi ./src/main.ts

ERROR in ./src/$$_gendir async
Module not found: Error: Can't resolve 'C:\xampp\htdocs\Angular\meat-app-final\src\$$_gendir\app\order\order.module.ngfactory.ts' in 'C:\xampp\htdocs\Angular\meat-app-final\src\$$_gendir'
 @ ./src/$$_gendir async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi ./src/main.ts

ERROR in ./src/$$_gendir async
Module not found: Error: Can't resolve 'C:\xampp\htdocs\Angular\meat-app-final\src\$$_gendir\app\about\about.module.ngfactory.ts' in 'C:\xampp\htdocs\Angular\meat-app-final\src\$$_gendir'
 @ ./src/$$_gendir async
 @ ./~/@angular/core/@angular/core.es5.js
 @ ./src/main.ts
 @ multi ./src/main.ts
PS C:\xampp\htdocs\Angular\meat-app-final>

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.