Coder Social home page Coder Social logo

poketoy's Introduction

Poketoy

Pokemon collection builder

Setup

This repo uses pnpm (rather than yarn), get it with npm i -g pnpm.

Then, pnpm i (short for pnpm install) to install deps for all workspaces.

Server

The server is a standard node + typescript project, and uses ts-eager to run the server in dev, and build's with normal tsc for prod.

  1. cd packages/server

  2. cp .env.example .env

  3. docker-compose -f dev.docker-compose.yml up -d

  4. yarn dev or yarn dev:server from the root.

  5. Check out the GQL schema @ localhost:4000/altair

apollo-server-core & apollo-server-express are included, as that's the combination of dependencies we'll be using to setup our graphql server. See the Quick Start guide on this: https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-express

MikroORM is our database ORM of choice, used with postgres.

Client

The client uses vite, which is a supa fast alternative to tools like create-react-app.

To start, on port 3000:

  1. Make sure the server is running, as the client uses the graphql server for codegen and just in general.
  2. cd packages/client
  3. yarn dev or yarn dev:client from the root.

poketoy's People

Contributors

johnpyp avatar

Watchers

James Cloos avatar  avatar  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.