Import "User-Article APIs.postman_collection.json" in Postman to see the documentaion and be able to test the project
Install MongoDB Compass or MongoDB Atlas with your own connection string modify in ==> "./DB/connection.js"
- User model (name, email, age, password )
- Article model (title, content )
- sign up
- sign in
- get all users
- update user
- delete user
- get users with name start with x with age less than y
- get users with name end with x
- get users with name contains x
- get users with name x
Note: (x and y are variables)
- add article
- update article (article owner only )
- delete article ( article owner only)
- get all articles with their owner's information
- get article by id