NodeJS + Typescript + VueJS project.
NodeJS current version : 20.x
PNPM current version : 8.6.x
Open the project in Gitpod :
To complete the exercices, you need to run the following commands :
corepack enable
pnpm build:wc # to build web components
pnpm dev # to run client and server instances
After that, the UI will be avaible at http://localhost:5173 and the server at http://localhost:8080.
Go to the twitter rest adapter and write the create tweet API call.
This function should return the created tweet.
Go to the twitter module and write the like feature (controller, service and repository).
The like feature must respect the following rules:
- Only an existing tweet could be liked
- The like counter should be incremented by 1
- The updated tweet should be returned by the API
Go to the twitter rest adapter and write the like tweet API call.
This function should return the updated tweet.