Code Monkey home page Code Monkey logo

full-stack-evaluation's Introduction

How to run apps

Frontend

  1. Go to app directory cd packages/frontend
  2. Setup packages/frontend/.env file with JWT token (example file: packages/frontend/.env.example)
  3. Install dependencies npm install
  4. Start dev server npm run start
  5. Done

Backend

  1. Go to app directory cd packages/backend
  2. Setup packages/backend/.env file with env variables (example file: packages/backend/.env.example)
  3. Install dependencies npm install
  4. Start dev server npm run dev
  5. Done

Heroku deployment

  1. Install Heroku CLI

  2. Login - run:

    heroku login

  3. Run commands:

    heroku create -a {app-name}
    heroku buildpacks:add -a {app-name} {buildpack}
    heroku buildpacks:add -a {app-name} https://github.com/lstoll/heroku-buildpack-monorepo -i 1
    heroku config:set -a {app-name} APP_BASE={app-path}
    git remote add heroku-{app-name} https://git.heroku.com/{app-name}.git
    git push heroku-{app-name} master
    

    Frontend

    {buildpack} = mars/create-react-app

    Backend

    {buildpack} = heroku/nodejs

    Also set env variables:

    heroku config:set {env-variable}={value}

    Variables are in package/backend/.env.example

full-stack-evaluation's People

Contributors

lyapkoandy13 avatar hallie-oa avatar

Watchers

 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.