Serverless Guru - Code Challenge 4
Front demo app https://bayoudhi.github.io/code-challenge-4-front/
This serverless application will allow you to host a fully functional GraphQL API to serve a simple TODO APP with simple CRUD functionalities like fetching, creating, updating, and deleting TODO items. Demo of
Before getting started, make sure Node.js is downloaded and installed. The latest version of Node.js can be downloaded from nodejs.org and it's recommended to use the LTS version.
Serverless Framework is used to build and deploy the application. Instructions for installing Serverless Framework can be found here.
An AWS account is required to deploy the application.
To build and deploy the application all of what you have to do is to run the following commands:
-
Install dependencies:
yarn install -
Deploy
yarn deploy:devoryarn deploy:prod
To deploy to a custom stage, run this command:
yarn run pre-deploy && sls deploy --stage 'stage_name'
This solution uses GitHub Actions CI/CD pipeline to continuously build and deploys the serverless application to AWS
This solution is developed using the TDD approach and is tested using jest library. You can find the tests in the /src/__tests__ folder.







