Skip to content

vsb-vaj/template-lab-2023s-04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lab-04 REST API

  1. Install the dependencies npm i
  2. Start the server npm start go to https://localhost:3000 and observe the dump of the DB.

Tasks:

Create REST API end points - based on the rest standards.

Listing of user

  1. List all users
  2. List specific user
  3. List a specific post by a user
  4. List all posts by user. Should have optional query parameter to filter only published posts

CRUD on user

  1. Create new user
  2. Update user
  3. Delete user

Posts

  1. Get all posts on the platform
  2. Get all published posts on the platform (again query)

Create new post

  1. Create new post, user ID is mandatory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published