Skip to content

This API is not an official AWS API The purpose of this is to share ENEM data and studies to demonstrate new possibilities for Brazilian education, using AWS services.

License

Notifications You must be signed in to change notification settings

AWS-EDU/aws-edu-enem-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS ENEM API

🔧 Setup

To start developing, you must have Python 3.8 preinstalled. We recommend using a version manager, like pip.

  1. Install Python 3.8 and Serverless Framework (https://www.serverless.com/framework/docs/providers/aws/guide/installation/)

  2. Clone this project git clone https://github.com/AWS-EDU/aws-edu-enem-api.git

  3. Enter the directory and start VSCode (or your desired IDE) with cd aws-edu-enem-api; code .

  4. Enter the service directory cd dashboard_service

  5. Create a virtual environmnet with virtualenv venv.

  6. Install the dependencies with pip install -r requirements.txt.

💻 Testing Local

cd services/<SERVICE NAME>

docker build -t <SERVICE NAME>:latest .

docker run -e AWS_ACCESS_KEY_ID=<ACCESS KEY> -e AWS_SECRET_ACCESS_KEY=<SECRET KEY> -e AWS_DEFAULT_REGION=<REGION> -p 9000:8080 <SERVICE NAME>:latest <FUNCTION>.lambda_handler

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'

☁️ Deploying on AWS

sls package

sls deploy

🔒 Security

See CONTRIBUTING for more information.

📜 License

This project is licensed under the MIT-0 License. See the LICENSE file.

About

This API is not an official AWS API The purpose of this is to share ENEM data and studies to demonstrate new possibilities for Brazilian education, using AWS services.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published