All Projects → pokedextracker → api.pokedextracker.com

pokedextracker / api.pokedextracker.com

Licence: MIT license
API for pokedextracker.com

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to api.pokedextracker.com

Typescript Seed
Typescript Seed Project (Angular, Hapi, Cookie Auth, TypeORM, Postgres)
Stars: ✭ 12 (-68.42%)
Mutual labels:  postgres, hapi
Hapi Node Postgres
📦 Wrap hapi requests with a pg connection
Stars: ✭ 32 (-15.79%)
Mutual labels:  postgres, hapi
Hapi
The Simple, Secure Framework Developers Trust
Stars: ✭ 13,632 (+35773.68%)
Mutual labels:  application, hapi
Poke-Pi-Dex
Our deep learning for computer vision related project for nostalgic poke weebs (Sistemi digitali, Unibo).
Stars: ✭ 18 (-52.63%)
Mutual labels:  pokemon
liferay-pokemon-item-selector
Code for Liferay's /dev/24 talk
Stars: ✭ 13 (-65.79%)
Mutual labels:  pokemon
nim-gatabase
Connection-Pooling Compile-Time ORM for Nim
Stars: ✭ 103 (+171.05%)
Mutual labels:  postgres
erdiagram
Entity-Relationship diagram code generator library
Stars: ✭ 28 (-26.32%)
Mutual labels:  postgres
realtime-flask-experiment
Experimenting with PostgreSQL's Listen/Notify and Flask-SocketIO
Stars: ✭ 22 (-42.11%)
Mutual labels:  postgres
create-fastify-app
An utility that help you to generate or add plugin to your Fastify project
Stars: ✭ 53 (+39.47%)
Mutual labels:  postgres
worker
Worker for Vela (Target's official Pipeline Automation Framework)
Stars: ✭ 27 (-28.95%)
Mutual labels:  application
intellij-pokemon-progress
A Pokémon themed progress bar for IntelliJ IDEA.
Stars: ✭ 70 (+84.21%)
Mutual labels:  pokemon
Simpler
Simpler是一款轻量级的第三方微博应用,具有微博的基础功能,兼有外观优雅,运行流畅,内存占用低,省电省流量等特点。
Stars: ✭ 27 (-28.95%)
Mutual labels:  application
whosthatpokemon
A simple HTML5 game that generates silhouettes from images and gets the user to guess the name of the Pokémon shown.
Stars: ✭ 53 (+39.47%)
Mutual labels:  pokemon
go-pg-crud
Simple Postgres CRUD written in Golang
Stars: ✭ 44 (+15.79%)
Mutual labels:  postgres
react-pokedex
A Pokedex built using React.js
Stars: ✭ 17 (-55.26%)
Mutual labels:  pokemon
shuttletracker
🚐 Shuttle tracking for RPI.
Stars: ✭ 44 (+15.79%)
Mutual labels:  postgres
spring-boot-mongodb-react-java-crud
Spring Boot, MongoDB and React.js CRUD Java Web Application Example
Stars: ✭ 33 (-13.16%)
Mutual labels:  application
typesafe-hapi
Typechecking for HapiJS based on Joi schemas!
Stars: ✭ 21 (-44.74%)
Mutual labels:  hapi
rss-for-the-rest-of-us
A simple RSS reader built on Laravel. For the rest of us.
Stars: ✭ 16 (-57.89%)
Mutual labels:  application
SteamAchievementNotifier
Steam Achievement Notifier is an Electron application that shows a customisable notification when you unlock any Steam Achievement! It uses the Steam Web API to track achievement stats in real time, and displays an achievement summary within the notification.
Stars: ✭ 77 (+102.63%)
Mutual labels:  application

api.pokedextracker.com

CircleCI Dependency Status

The API for pokedextracker.com. It's written in Node.js using the following libraries/packages:

Install

This project is meant to be run with the version of Node.js that is referenced in .node-version, so make sure you have it installed and active when running this application. This project also relies on the yarn.lock file to lock down dependency versions, so we recommend that you use yarn instead of npm to avoid "it works on my computer" bugs that are all too common with just a package.json. Assuming you have nodenv installed, you just need to install the appropriate version and then install the dependencies:

nodenv install
cd api.pokedextracker.com
yarn

Database

This project uses PostgreSQL as its database, so you'll need to have the role and database setup. Assuming you already have it installed (either through brew on OS X or apt-get on Ubuntu), you can just run the following:

createuser -d -r -l pokedex_tracker_admin
createdb -O pokedex_tracker_admin pokedex_tracker
yarn db:migrate

Data

This repo doesn't include a way to completely load up the DB with all of the actual Pokemon data. That's only been loaded into the staging and production databases. For testing purposes and to make sure everything is functioning as expected, having that data isn't entirely necessary. You should be relying on tests and factories instead of the database state.

Tests

This project uses Mocha as the test runner, Chai BDD as our assertion library, and Istanbul to track code coverage. To run the tests locally, all you need to do is run:

yarn test

It will output the results of the test, and a coverage summary. To see a line-by-line breakdown of coverage to see what you missed, you should open ./coverage/lcov-report/index.html.

Docker

Every time we deploy this repo, we build a new Docker image and upload it to Docker Hub. We use an explicit tag with the first 7 characters of the commit hash. The server will be listening on port 8647 so if you run a container locally, make sure that traffic is forwarded to that port. For example:

docker run --rm --publish 8647:8647 --name pokedextracker-api pokedextracker/api.pokedextracker.com:$(git rev-parse --short HEAD)

Deployments

Note: you need the necessary permissions to be able to deploy.

The deploy script uses Helm and the web-app Helm chart to create a new release in the PokedexTracker Kubernetes cluster. Pass in the newly created Docker tag to deploy that version to the cluster.

yarn deploy
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].