Backend GraphQL API for ScrumNest.com
- Make sure you have an AWS Account and Access Keys
- Serverless
- Python 3.8
- NPM package manager
npm install -g serverless
npm install
If you are not deploying from a unix machine, you may need to install python requirements
pip3 install -r requirements.txt
In order to deploy this serverless application from your local CLI, you will need to create a user for yourself and generate Access Keys. A more detailed guide can be found here.
Once you have generated your tokens, you will need to export them in your CLI.
export AWS_ACCESS_KEY_ID=********************
export AWS_SECRET_ACCESS_KEY=****************************************
export AWS_DEFAULT_REGION=us-east-1
Make sure that you have an email address verified in AWS SES (Simple Email Service). More information can be found here.
You will need to provide this email to deploy your serverless application.
serverless deploy --email <your email>
Example:
serverless deploy --email [email protected]
If you choose to take down your application, you can do by running
serverless remove
nosetests --logging-level=INFO