nodejs, typescript, mysql
Create a small set of rest API endpoints using NodeJS that can be used for listing the names of Star Wars movies along with their opening crawls and comment counts, adding and listing anonymous comments for a movie, and getting the character list for a movie.
listing the names of Star Wars movies ( along with opening crawls and comment counts ) adding anonymous comments listing anonymous comments getting the character list for a movie
{ "films": "https://swapi.dev/api/films/", "people": "https://swapi.dev/api/people/", "planets": "https://swapi.dev/api/planets/", "species": "https://swapi.dev/api/species/", "starships": "https://swapi.dev/api/starships/", "vehicles": "https://swapi.dev/api/vehicles/" }
"https://swapi.dev/api/films/" - list all films "https://swapi.dev/api/films/:id" - list a film character "https://swapi.dev/api/people/:id" - Get character details