Skip to content

silent5am/market-watch-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eve Market Watch

Deployment Guide

In order to deploy this application you need an AWS account with the permissions to provision Lambdas and DynamoDB.

First create the following DynamoDB tables:

  • eve_marketwatch_user with number key character_id
  • eve_marketwatch_structure with number key structure_id
  • eve_marketwatch_item_watch with string key id
  • eve_marketwatch_item_snapshot with string key id
  • eve_marketwatch_mail with string key id

Make sure you haven maven, jdk8, npm, aws cli and serverless framework installed.

Create two eve apps. One for the mail sender (scope: esi-mail.send_mail.v1) and one for the users (scopes: esi-search.search_structures.v1 esi-universe.read_structures.v1 esi-markets.structure_markets.v1). Manually create a refresh token for the mail sender.

Create a config..json with the following content:

{
  "adminCharacterId": 123,
  "jwtSecret": "123",
  "mailCharacterId": 123,
  "mailClientId": "123",
  "mailClientSecret": "123",
  "mailRefreshToken": "123",
  "appClientId": "123",
  "appClientSecret": "123"
}

In the root of this project run mvn clean package to build the artifact and sls deploy to deploy it.

After the deployment is complete (which make take a couple minutes) you will see the URLs of the endpoint in the console. Use the endpoint URL for the frontend project.

Contributing

Contributions are welcome! Discuss, fork the repo and then create a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%