This repository contains the backend of a wink mobile sinpe simulator which is worked with AWS using HTTP API and API Gateway, in addition to this it uses a dynamodb database integrated within the services
Tech | Description |
---|---|
AWS | Amazon Web Services (AWS) is a comprehensive cloud computing platform offered by Amazon. It provides a wide range of on-demand computing services and infrastructure resources that allow businesses, developers, and individuals to build, deploy, and manage applications and data without needing to invest in physical hardware. |
Node.js | Node.js is an open-source, cross-platform JavaScript runtime environment that allows developers to execute JavaScript code outside of a web browser. |
Serverless Framework | The Serverless Framework is an open-source framework that simplifies the development and deployment of serverless applications, primarily on cloud platforms like AWS Lambda, Google Cloud Functions, and Azure Functions. |
AWS-CLI | The AWS Command Line Interface (AWS CLI) is a tool for managing AWS resources from the command line. It supports nearly all AWS services, allowing for automation and scripting without using the AWS Management Console. |
This project uses Serverless Framework
npm install -g serverless
Also we need to install AWS-CLI here and follow the installation steps, for this step you should to configure an user on AWS
Install the project with npm
npm install
Run the serverless framework to create all you need to interact with the aws server
serverless deploy
In this repository there are some aspects to improve
- The getMovement route receives the data to be requested as a route parameter, this can be enhanced by using query parameters and giving AWS permission to execute the query on the server.
- Accept required and specific routes in CORS configuration