Women Who Code Austin Network hosts lightning talk every first Monday of the month. You can come to hang out, or sign up to talk here!
Currently talk sign-ups are through Google form, and organizers have to manually create forms for each month. The minimal viable product(MVP) for this project is to automatically direct sign-ups to the correct month.
The project is currently using:
- HTML, CSS and vanilla javascript front-end
- Serverless architecture back-end, with AWS lambda in Python
- DynamoDB as data store
- Install serverless cli
npm install -g serverless
- Clone this repo, and
cd
into this repo - Install node packages:
npm install
- Create a Python virtual environment:
python3 -m venv env
- Activate the Python virtual environment:
source env/bin/activate
- Install Python packages:
pip install -r requirement.txt
- Make sure you have docker
docker pull lambci/lambda
- Install local
sls dynamodb install
sls dynamodb start -p 8000 --migrate true
sls offline
To deploy this project, you need to:
- Create a AWS credentials. Full guide here, quick summary below:
- Sign up for an AWS account here
- Create an user and access key at the Identity and access management (IAM) dashboard
- Get the access key ID and secret access key
- Export the keys by running the following command in your terminal:
export AWS_ACCESS_KEY_ID=<your-key-here> export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
- Run
serverless deploy
to deploy backend changes - Run
serverless client deploy
to deploy frontend changes - Log in to your AWS API gateway console. In API -> dev-lighting-talk -> Stages -> dev, You should be able to see you site live and deployed! For example, https://kibdbgkt76.execute-api.us-east-1.amazonaws.com/dev/. Currently it needs a slash(so ....amazonaws.com/dev/) at the end for path to work correctly.
.
├── client # All the frontend code goes here
│ └── dist # The "built folder" for frontend code.
├── lightningtalk # Lambda code
├── package.json # node package.json
├── serverless.yml # Serverless framework configurations. Extra cloudformation configs are here too
└── README.md