Backend-diff uses a stack full JS/TS
on the backend, I'm making this project to improve
my skills in the backend.
- For clone the project
git clone https://github.com/Wellers0n/Backend-diff.git
- Enter in the folder
cd Backend-diff/
- To install project dependency:
yarn install
- After the installation of the dependencies
yarn start
in the default directory
POST
=>/api/login
return ->TOKEN
POST
=>/api/createUser
return ->status 200
GET
=>/api/articles
return ->json articles
GET
=>/api/article/:id
return ->json one article
POST
=>/api/article
return ->status 200 = create one article
DELETE
=>/api/article/:id
return ->status 200 = delete one article
PUT
=>/api/article/:id
return ->status 200 = update one article
GET
=>/api/comment/:idArticle
return ->json comments of an article
POST
=>/api/comment
return ->status 200 = create one comments
DELETE
=>/api/comment/:id
return ->status 200 = delete one article
PUT
=>/api/comment
return ->status 200 = update one article
NodeJS
KoaJS
MongoDB
GraphQL
Yarn
WorkSpaces
@nandosangenetto