36
loading...
This website collects cookies to deliver better user experience
Methods | Urls | Actions |
---|---|---|
POST | /api/tutorials | create new Tutorial |
GET | /api/tutorials | retrieve all Tutorials |
GET | /api/tutorials/:id | retrieve a Tutorial by :id
|
PUT | /api/tutorials/:id | update a Tutorial by :id
|
DELETE | /api/tutorials/:id | delete a Tutorial by :id
|
DELETE | /api/tutorials | delete all Tutorials |
GET | /api/tutorials?title=[keyword] | find all Tutorials which title contains keyword
|
App
component is a container with React Router
. It has navbar
that links to routes paths.TutorialsList
component gets and displays Tutorials.Tutorial
component has form for editing Tutorial's details based on :id
.AddTutorial
component has form for submission new Tutorial.TutorialDataService
methods which use axios
to make HTTP requests and receive responses.react
, typescript
, react-router-dom
, axios
& bootstrap
.App
is the container that has Router
& navbar.ITutorialData
interface.TutorialsList
, Tutorial
, AddTutorial
.TutorialDataService
has methods for sending HTTP requests to the Apis.