Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Commit

Permalink
#37 primeira autenticação bem sucedida .
Browse files Browse the repository at this point in the history
Signed-off-by: Beatriz Hanae <beatriz.hanae@gmail.com>
Signed-off-by: Ezequiel de Oliveira <ezequiel1de1oliveira@gmail.com>

Co-Authored-by: Beatriz Hanae <beatriz.hanae@gmail.com>
Co-Authored-by: Ezequiel de Oliveira <ezequiel1de1oliveira@gmail.com>
  • Loading branch information
EzequielDeOliveira and BeatrizHanae committed May 10, 2018
1 parent 0d33aa0 commit 23b97da
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 5 deletions.
60 changes: 60 additions & 0 deletions Schedule/Client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

dulce/__tests__/__snapshots__/*

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore

# project
package-lock.json
coverage/
.coveralls.yml

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots
6 changes: 3 additions & 3 deletions Schedule/Client/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ module.exports = function api(options) {
prefix: '/api/schedule',
pin: 'role:api,path:*',
map: {
create: { POST: true
/* auth: {
create: { POST: true,
auth: {
strategy: 'jwt',
fail: '/api/schedule/error'
}*/
}
},
listDay: { GET: true },
listSchedule: { GET: true },
Expand Down
2 changes: 1 addition & 1 deletion Schedule/Client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"bcrypt": "^1.0.3",
"bcrypt": "^2.0.1",
"body-parser": "1.15.2",
"express": "^4.14.0",
"jsonwebtoken": "^8.2.0",
Expand Down
60 changes: 60 additions & 0 deletions Schedule/Server/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

dulce/__tests__/__snapshots__/*

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore

# project
package-lock.json
coverage/
.coveralls.yml

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots
2 changes: 1 addition & 1 deletion Schedule/Server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"bcrypt": "^1.0.3",
"bcrypt": "^2.0.1",
"body-parser": "1.15.2",
"express": "^4.14.0",
"jsonwebtoken": "^8.2.0",
Expand Down

0 comments on commit 23b97da

Please sign in to comment.