This is a full CRUD backend written in JS using Node, Express, and Mongoose.
- User:
- Signup
- Login
- Update profile
- Get my posts
- Get my comments
- Post
- Create post
- Edit post
- Delete post
- Get comments
- Comments
- Create comment
- Edit comment
- Delete comment
- User data is validated with validator.
- Passwords are hashed with bcryptjs
- On a successful login the server returns a JWT which is required for verification to perform any other action.
- Environment variables are used for various encryption variables