You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a mutation (POST API) called submitSolution to submit the solution
Table solution:
id (1, 2...)
solutionMaskId (WSPMGveFxM)
title
repositoryUrl
liveUrl
questions
createdAt
updatedAt
Related Table tag:
id
tagMaskId
title
createdAt
updatedAt
Mapping table solutionTag:
id
solutionId
tagId
createdAt
updatedAt
Sample Migration SQL:
CREATETABLEtag (
id SERIALPRIMARY KEY,
tagMaskId VARCHAR(30) NOT NULL,
title VARCHAR(255) NOT NULL,
createdAt DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
updatedAt DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMPONUPDATECURRENT_TIMESTAMP
);
The text was updated successfully, but these errors were encountered:
mimukit
changed the title
Frontend Mentor - Submit Solution API
Projects - submit solution API
Apr 11, 2023
Frontend: #113
POST
API) calledsubmitSolution
to submit the solutionTable
solution
:id
(1, 2...)solutionMaskId
(WSPMGveFxM)title
repositoryUrl
liveUrl
questions
createdAt
updatedAt
Related Table
tag
:id
tagMaskId
title
createdAt
updatedAt
Mapping table
solutionTag
:id
solutionId
tagId
createdAt
updatedAt
Sample Migration SQL:
The text was updated successfully, but these errors were encountered: