This project is a serverless application for interacting with Star Wars planet data. It provides endpoints for retrieving planet information, creating new planets, and importing planets from the Star Wars API.
Before running the application, make sure you have the following installed:
- Node.js
- npm
- Serverless Framework
Clone the repository and install dependencies:
$ git clone <repository_url>
$ cd starwarstest
$ npm installTest the application locally by using Serverless Framework's invoke command:
$ serverless invoke local --function get --path test/get.json$ serverless invoke local --function create --path test/post.json$ serverless invoke local --function import --path test/import.jsonDeploy the application using the Serverless Framework:
$ serverless deploy