Code Monkey home page Code Monkey logo

polyratings's Introduction

Polyratings Monorepo

Lerna monorepo to contain all polyratings related code

Packages

  • frontend - Frontend react app deployed at https://polyratings.org
  • backend - Backend typescript app deployed on Cloudflare Workers
  • shared - Common data types related to sharing data between packages
  • client - Client package that wraps interaction to the backend as well as re-exports the shared package
  • cron - nightly job that syncs data between environments as well as backs up the professor list to a separate git repo
  • eslint-config - shared eslint config that is enforced in all other packages

Getting Ready for development

If you are not interested in developing the backend or cron packages you can skip to setup

In order to set up for development you have one of two options:

  1. Following the instructions here to deploy polyratings to your personal cloudflare account. This will then allow you to do test deployments of your changes in an isolated environment.
  2. Reaching out to [email protected] to receive credentials to the cloudflare account in order to be able to publish to the official dev environment. This option should only be taken if you are interested in working on polyratings in the long term and have demonstrated an interest through multiple previous code contributions.

Setup

Since this repository is organized using lerna setup is a little different than standard js projects.

Install top level JS dependencies

npm install

This will install lerna locally to this repo. Then run:

npm run bootstrap

This will install all of the dependencies for all of the sub packages and sym link dependent packages. Finally run:

npm run build

This will build all of the projects and put shared files where they are supposed to be.

You can now start developing in your desired package. Follow the README in the specific package for specific information.

polyratings's People

Contributors

addisontustin avatar mfish33 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.