Skip to content

netfront/API-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Netfront API Challenge!

Hi!

We have a project that is currently in the development phase. The application is being built using (React.js + API) and the client would like the users to be able to create blogs as well as share comments on these posts. Our mission is to build the API.

The client would like the API to be built using GraphQL in an extensible way because they have a lot of ideas for the future and think it will be easier to scale and modify in the future.

As a team we have made some decisions about the infrastructure and the set-up of the API that cannot be changed at this time due to the delay:

  • Pgsql & code first
  • Graphql-dotnet as graphql framework
  • Repository pattern
  • JWT to manage access
  • Public & Private graphql schema

The specifications of the application include:

  • A user can create multiple blogs

  • A blog has multiple posts

  • A post has a list of content

Our intern started to develop the API but he is facing some issues.

Your mission, if you choose to accept it, is to firstly debug and find why our intern cannot perform some methods properly, and provide feedback on how this was solved so it can be passed on to the rest of the team.

You then have to resume where he stopped. You have to finish the "Content". The customer wants to be able to add different kind of Content in a post such as :

  • Text

    • Text
  • Image

    • Image url
    • Height
    • Width
  • Video

    • Video url
    • Duration
  • Google map

    • Longitude
    • Latitude
  • Quote

    • Text
    • Author

Based on our last meeting, the list will grow soon with new content types.

We won't bother implementing a proper sorting method for the current version, what the intern did is enough for now.

If you have the time to implement the delete & update method that'd be amazing.

Also if you can provide a short concise document on "how to implement a new type" our intern will be able to do it himself in the future.

The client wants a demo of the API before Friday 5PM, so feel free to push your changes whenever it's ready to review (in a .zip format to the address that sent you this challenge).

If you have any inquiry, feel free to contact me ! ✌

Requirements:

  • PGSQL Installed
  • Dotnet 3.1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages