- Install the dependencies
npm i
- Start the server
npm start
go to https://localhost:3000 and observe the dump of the DB.
Create REST API end points - based on the rest standards.
- List all users
- List specific user
- List a specific post by a user
- List all posts by user. Should have optional query parameter to filter only published posts
- Create new user
- Update user
- Delete user
- Get all posts on the platform
- Get all published posts on the platform (again query)
- Create new post, user ID is mandatory