Giter Club home page Giter Club logo

musicroom's Introduction

Project setup

Tools

Next, make sure you have installed volta which ensures you have the right version of node and yarn for this project

You might also need expo to iterate on the client package

Clone

Next, checkout a working copy of this project enter the directory you just created

Install dependencies

yarn is the recommended package manager to use with this project. Please use it instead of npm.

Install dependencies with yarn by running

yarn

Env variables

If you want to test the app as a whole you should fill a .env file for each package. It involves to create several google api keys ( with billing account for google console )

Starting the project

Start up the project in development mode by running

Client

Start the expo app by running.

cd packages/client && yarn start

Then choose a platform where to run the app.

Changing any files in the folder will result in an incremental rebuild, and a refresh of the screen

Server

First launch redis & postgres container:

cd packages/server && docker-compose up -d

Run the database migrations ( Until we've done the authenfication feature we need to seed the db using node ace db:seed )

node ace migration:rollback --batch 0 && node ace migration:run && node ace db:seed

Start the server:

yarn dev

By default, the server is served on https://localhost:3333.

Do not forget to set the env variables, if not the server won't start

Temporal

First launch temporal server:

cd packages/temporal && yarn temporal

Start the api

yarn dev

Start the worker

yarn worker

If you got some errors from the two previous commands, just wait few minutes for the temporal server to be ready

Utils

From musicRoom/

Build all the packages

yarn build

Clean all the packages

yarn clean

Lint

yarn lint

Run jest tests

yarn test

musicroom's People

Contributors

devessier avatar prastoin 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.