Giter VIP home page Giter VIP logo

exevo-pan's Introduction

Exevo Pan ๐ŸŽ

Exevo Pan is an official Tibia supported fansite focused on improving your Char Bazaar experience.

Exevo Pan

What's inside?

This monorepo contains the entire codebase of our project. Here is the anatomy:

โ”œโ”€โ”€ automations
โ”œโ”€โ”€ apps
โ”‚ย ย  โ”œโ”€โ”€ bazaar-scraper
โ”‚ย ย  โ”œโ”€โ”€ blog-worker
โ”‚ย ย  โ”œโ”€โ”€ current-auctions-lambda
โ”‚ย ย  โ”œโ”€โ”€ exevo-pan
โ”‚ย ย  โ””โ”€โ”€ history-server
โ”œโ”€โ”€ packages
โ”‚ย ย  โ”œโ”€โ”€ auction-queries
โ”‚ย ย  โ”œโ”€โ”€ config
โ”‚ย ย  โ”œโ”€โ”€ data-dictionary
โ”‚ย ย  โ”œโ”€โ”€ logging
โ”‚ย ย  โ”œโ”€โ”€ mock-maker
โ”‚ย ย  โ”œโ”€โ”€ shared-utils
โ”‚ย ย  โ”œโ”€โ”€ tsconfig
โ”‚ย ย  โ””โ”€โ”€ @types
โ””โ”€โ”€ package.json

The entire stack is built using typescript, so you will need Node.js and yarn. If you are starting from a fresh clone of this repository, start with:

yarn

This will install and build all the apps dependencies. You will also need to install Workers CLI:

yarn global add @cloudflare/wrangler

and Serverless Framework CLI:

yarn global add serverless

Apps

Setup

It's advisible that you read every app documentation before trying to run the full stack. Still, here is a simple recipe for you to get started:

Install all the dependencies

yarn && yarn build:packages

Scraping current auctions data

At the apps/bazaar-scraper directory, run:

yarn scrap:auctions

to get current auctions data. Then, fetch for highlighted auctions:

yarn update:highlighted

Scraping history auctions data

To get some history auction data, start with:

yarn scrap:history

Scraping the entire History data will take several days, but you can skip this process as soon as HistoryAuctions.jsonl has been outputted.

Now generate some history statistics data using:

yarn update:statistics

At this point, your apps/bazaar-scraper/Output directory should have this set of data:

โ”œโ”€โ”€ CurrentAuctions.json
โ”œโ”€โ”€ HighlightedAuctions.json
โ”œโ”€โ”€ HistoryAuctions.jsonl
โ”œโ”€โ”€ HistoryStatistics.json
โ”œโ”€โ”€ ItemsData.json
โ”œโ”€โ”€ ScrapHistoryData.json
โ””โ”€โ”€ ServerData.json

Now you are ready to have a minimal dev environment! Go back to the repository root directory and run:

yarn dev

Now you are ready to roll! Apps will be running on:

About

This software is 100% free, open-source and unlicensed.

You can find more info about me or this project here ๐Ÿ˜„

Contact: [email protected]

exevo-pan's People

Contributors

brunominervino avatar lucasquearis avatar mathiasbynens avatar xandjiji avatar yurieastwood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.