Commits on Source (12)
-
ludvighillert authored
-
Ludvig Damberg authored
-
Ludvig Damberg authored
when logging in the user is now redirected to their profile page. This is done through storing the user inside a token which is verified when refreshing the profile page
-
Ludvig Damberg authored
-
ludvighillert authored
-
Ludvig Damberg authored
register working log in working posting working tokens last 10 seconds
-
ludvighillert authored
-
ludvighillert authored
-
Ludvig Damberg authored
created routes for deleting posts fetching profile posts saving profile information to posts loading animation ect.
-
Ludvig Damberg authored
back button (inside login for now) started on a footer
-
Ludvig Damberg authored
fixed some styling on the posts side, specifically the post and posts css which were very messy. It now works to load in new components fetching a certain number of posts from the backend at a time and fetching posts that matches a word.
Showing
- backend/.env 8 additions, 2 deletionsbackend/.env
- backend/index.js 6 additions, 8 deletionsbackend/index.js
- backend/middlewares/MulterMiddleware.js 6 additions, 0 deletionsbackend/middlewares/MulterMiddleware.js
- backend/middlewares/auth.js 29 additions, 0 deletionsbackend/middlewares/auth.js
- backend/models/UploadModel.js 31 additions, 8 deletionsbackend/models/UploadModel.js
- backend/models/user.js 9 additions, 0 deletionsbackend/models/user.js
- backend/node_modules/.package-lock.json 75 additions, 11 deletionsbackend/node_modules/.package-lock.json
- backend/node_modules/body-parser/HISTORY.md 8 additions, 0 deletionsbackend/node_modules/body-parser/HISTORY.md
- backend/node_modules/body-parser/README.md 11 additions, 10 deletionsbackend/node_modules/body-parser/README.md
- backend/node_modules/body-parser/lib/types/json.js 15 additions, 4 deletionsbackend/node_modules/body-parser/lib/types/json.js
- backend/node_modules/body-parser/package.json 8 additions, 8 deletionsbackend/node_modules/body-parser/package.json
- backend/node_modules/mongoose/dist/browser.umd.js 1 addition, 1 deletionbackend/node_modules/mongoose/dist/browser.umd.js
- backend/node_modules/mongoose/lib/document.js 30 additions, 9 deletionsbackend/node_modules/mongoose/lib/document.js
- backend/node_modules/mongoose/lib/helpers/document/compile.js 11 additions, 1 deletion...end/node_modules/mongoose/lib/helpers/document/compile.js
- backend/node_modules/mongoose/lib/model.js 67 additions, 14 deletionsbackend/node_modules/mongoose/lib/model.js
- backend/node_modules/mongoose/lib/query.js 9 additions, 0 deletionsbackend/node_modules/mongoose/lib/query.js
- backend/node_modules/mongoose/lib/schema.js 7 additions, 2 deletionsbackend/node_modules/mongoose/lib/schema.js
- backend/node_modules/mongoose/lib/schema/array.js 2 additions, 2 deletionsbackend/node_modules/mongoose/lib/schema/array.js
- backend/node_modules/mongoose/package.json 12 additions, 11 deletionsbackend/node_modules/mongoose/package.json
- backend/node_modules/mongoose/scripts/generateSearch.js 16 additions, 21 deletionsbackend/node_modules/mongoose/scripts/generateSearch.js
backend/middlewares/auth.js
0 → 100644
This diff is collapsed.