Skip to content

interviews-lj/challenge-digital-present

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigitalPresent Test API

REST API THAT DOES THE FOLLOWING (everything should be json):

  • user registration
  • user login (JWT)
    • user should have username and password and role
  • /posts/ lists posts with name and content
  • /post/{id} access one single post
  • /post/{id}/edit checks if the user is admin via JWT and if he's an admin he can edit the post using the following query
 {
     name: "Something"
     content: "Some content lorem ipsum"
 }

About

This is a challenge set by the company Digital Present (https://digitalpresent.io/) for a Backend position, however I have not been accepted. This is made public because I didn't receive any feedback about my code back from them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors