To do app with PERN stack
Stars
0
Forks
0
Watchers
0
Open Issues
0
Overall repository health assessment
^2.4.3^1.4.5^2.8.5^8.2.0^4.17.1^1.17.1^0.4.1^1.0.0^8.5.1^26.6.0^2.0.7^6.1.310
commits
Refactored db file to be able to test it. Added tests for user endpoints.
d116b0eView on GitHubChanged database.sql file, to create todo table, there was a typo in users foreign key
176a69aView on GitHubChanged database setup for production. Added settings and proxy to be able to deploy the app to heroku.
6c0d94fView on GitHubRefactored passport.js util function. I now have different local strategies for login and register endpoints. Moved addTodo fu function to context, now when user adds a to do, I can refresh the page and show them.
c9d11b1View on GitHubCreated context, added all the functions and states there that I would need to use in components below. Solved problem about saving cookies and setting user. Now user can do crud operations for todos when authenticated.
182c47bView on GitHubCreated a util file to make a passport function. Added local authentication and applied it as a middleware to the routes that need it.
b759300View on GitHubAdded user routes. Refactored index.js and created seperate folders for routes and db. Added table for user and created relation between user and todos. Installed bcrypt, added functionality to hash user passwords before registering and updating
943a490View on GitHub