Table of Contents
해당 프로젝트는 웹으로 존재하는 AWS Billing Dashboard를 모바일으로도 이용 요금 현황을 파악할 수 있게 만들어진 프로젝트입니다. 리소스 별로 비용 차트를 확인할 수 있고 타겟 비용에 대한 알람을 설정할 수 있습니다.
Download and install packages and associated dependencies via flutter pub get
- dart flutter
flutter pub get
- Description - aws resource cost list 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/aws-resource?email="[email protected]"®ion="us-east-1"&day=7
- Description - aws resource cost list 반환
{
"statusCode": 200,
"data": {
"resources": [
{
"key": "Amazon Simple Storage Service",
"amount": "2.8",
"timeEnd": "2023-11-01",
"timeStart": "2023-11-02",
},
],
"totalResults": 1
}
}
- Description - alert message list 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/alert-messages?email="[email protected]"
- Description - alert message list 반환
{
"statusCode": 200,
"data": {
"messages": [
{
"time": "2023-11-08 20:55:00",
"message": "리소스 총 사용 요금이 70% 초과하였습니다.",
},
],
"totalResults": 1
}
}
- Description - aws iam key 저장 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/user-key
{
email: "[email protected]",
accessKey: "key value",
secretKey: "key value"
}
- Description - key 저장 완료 메시지
{
"statusCode": 200,
"data": {
"message": "key store success"
}
}
- Description - cost alert 설정 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/alert-setting
{
email: "[email protected]",
timeEnd: "2023-11-24 16:00:00",
targetCost: 100
}
- Description - alert 설정 성공 메시지
{
"statusCode": 200,
"data": {
"message": "alert setting success"
}
}
- Description - login 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/login
{
email: "[email protected]",
password: "test1234!!",
}
- Description - login 성공 메시지
{
"statusCode": 200,
"data": {
"message": "login success"
}
}
- Description - sign up 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/sign-up
{
email: "[email protected]",
password: "test1234!!",
}
- Description - sign up 성공 메시지
{
"statusCode": 200,
"data": {
"message": "sign up success"
}
}
- Description - logout 요청
curl -i -H 'Accept: application/json' http://localhost:8000/api/v1/logout
{
email: "[email protected]",
}
- Description - logout 성공 메시지
{
"statusCode": 200,
"data": {
"message": "logout success"
}
}
Please refer to CONTRIBUTING.md
for Contribution.
For issues, new functions and requests to modify please follow the following procedure. 🥰
- Fork the Project
- Create a Issue when you have new feature or bug, just not Typo fix
- Create your Feature Branch from dev Branch (
git checkout -b feature/Newfeature
) - Commit your Changes (
git commit -m 'feat: add new feature'
) - Push to the Branch (
git push origin feature/Newfeature
) - Open a Pull Request to dev branch with Issues
Please refer to LICENSE.txt
for LICENSE.
Sumin Kim |