- Install dependencies with:
npm install
- Then deploy:
serverless deploy
- Install dependencies with:
npm install
- Install dynamodb local
sls dynamodb install
- Run and start to test apis
sls offline start
- DynamoDB
- Express
- Serverless
List of available routes:
Vehicle routes:
GET /vehicle/
- Get all vehicles in DynamoDB
POST /vehicle/
- Save vehicle in DynamoDB
GET /vehicle/:id
- Get specify vehicle\
SWAPI routes:
GET /swapi/vehicles
- Get vehicles of SWAPI\