git clone https://github.com/cod3rcursos/meat-app-starter.git
npm install
ng serve
ou npm start
npm install -g json-server
json-server db.json
Expressões regulares usadas na validação de formulários
/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i
/^[0-9]*$/
Dependências dos pacotes que devem ficar em package.json:
"dependencies": {
"@angular/animations": "4.3.3",
"@angular/common": "4.3.3",
"@angular/compiler": "4.3.3",
"@angular/core": "4.3.3",
"@angular/forms": "4.3.3",
"@angular/platform-browser": "4.3.3",
"@angular/platform-browser-dynamic": "4.3.3",
"@angular/router": "4.3.3",
"admin-lte": "2.3.11",
"core-js": "2.4.1",
"font-awesome": "4.7.0",
"intl": "1.2.5",
"jquery": "3.1.1",
"reflect-metadata": "0.1.10",
"rxjs": "5.4.2",
"ts-helpers": "1.1.2",
"web-animations-js": "2.2.5",
"zone.js": "0.8.16"
},
"devDependencies": {
"@angular/cli": "1.2.7",
"@angular/compiler-cli": "4.3.3",
"@types/jasmine": "2.5.53",
"@types/express": "4.0.37",
"@types/jsonwebtoken": "7.2.3",
"@types/node": "7.0.5",
"codelyzer": "3.1.2",
"jasmine-core": "2.7.0",
"jasmine-spec-reporter": "4.1.1",
"json-server": "0.12.0",
"jsonwebtoken": "7.4.1",
"karma": "1.7.0",
"karma-chrome-launcher": "2.2.0",
"karma-cli": "1.0.1",
"karma-jasmine": "1.1.0",
"karma-remap-istanbul": "0.6.0",
"protractor": "5.1.2",
"ts-node": "3.3.0",
"tslint": "5.5.0",
"typescript": "2.4.2",
"webdriver-manager": "12.0.6"
}
Dependências dos pacotes que devem ficar em package.json:
"dependencies": {
"@angular/animations": "6.0.0-rc.5",
"@angular/common": "6.0.0-rc.5",
"@angular/compiler": "6.0.0-rc.5",
"@angular/core": "6.0.0-rc.5",
"@angular/forms": "6.0.0-rc.5",
"@angular/platform-browser": "6.0.0-rc.5",
"@angular/platform-browser-dynamic": "6.0.0-rc.5",
"@angular/platform-server": "6.0.0-rc.5",
"@angular/router": "6.0.0-rc.5",
"admin-lte": "2.3.11",
"core-js": "2.5.4",
"font-awesome": "4.7.0",
"intl": "1.2.5",
"jquery": "3.1.1",
"reflect-metadata": "0.1.10",
"rxjs": "6.0.0-uncanny-rc.7",
"rxjs-compat": "6.0.0-uncanny-rc.7",
"ts-helpers": "1.1.2",
"web-animations-js": "2.2.5",
"zone.js": "0.8.26",
"ajv": "6.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.5.0",
"@angular/compiler-cli": "6.0.0-rc.5",
"@angular/cli": "6.0.0-rc.5",
"@angular/language-service": "6.0.0-rc.1",
"@types/jasmine": "2.8.6",
"@types/jasminewd2": "2.0.3",
"@types/node": "8.9.4",
"@types/express": "4.0.37",
"@types/jsonwebtoken": "7.2.3",
"codelyzer": "4.2.1",
"jasmine-core": "2.99.1",
"jasmine-spec-reporter": "4.2.1",
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-coverage-istanbul-reporter": "1.4.2",
"karma-jasmine": "1.1.1",
"karma-jasmine-html-reporter": "0.2.2",
"protractor": "5.3.0",
"ts-node": "5.0.1",
"tslint": "5.9.1",
"json-server": "0.12.0",
"jsonwebtoken": "7.4.1",
"typescript": "2.7.2",
"webdriver-manager": "12.0.6"
}
Todas as imagens usadas na aplicação são pertencentes a freepik.com