Comments (1)
Good Job! 👍 You are finished! But, there is still much more you can do with Node.js, Express.js, and MongoDB. If you want to continue working on this, here are some next steps to improve security:
-
Encrypt your user passwords with a library like "bcrypt" before saving them.
-
Add a nested collection (activities, pets, blog posts, etc... ) to your User model using the "populate" method.
-
Use a library like JSON web token to authenticate your users in a login route.
-
Use middleware for your mongoose model or express routes to check if there is a valid token that matches the user's id before saving data.
from intermediate-node-course.
Related Issues (4)
- Set up node project HOT 3
- Create User model HOT 5
- Create, Read, Update, and Delete HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intermediate-node-course.