Giter VIP home page Giter VIP logo

xdrone-webapp's Introduction

WebApp Build Status

The WebApp that provides kids a new experience of learning coding with drones.

Compiles and hot-reloads for development locally

The following instructions will run the backend and frontend with hot-reloads enabled at the same time.

Dev quickstart

Make sure you have a .env.local, which will enable the dev mode in your backend folder. You can make a copy from the .env.local.sample.

cp backend/.env.local.sample backend/.env.local

To start dev backend and serve frontend at the same time

npm run dev

Backend

To run the backend, go to backend directory.

cd backend

Install all the dependencies.

npm run clean-install

Make sure you have a .env.local, which will enable the dev mode. You can make a copy from the .env.local.sample.


cp .env.local.sample .env.local

Run the backend.


node app.js

Frontend

Go to frontend directory (assume going from backend dircetory).


cd ../frontend

Install all the dependencies.

npm run clean-install

Simply run the frontend with hot-reloads.


npm run serve

Run your tests


npm run test

Lints and fixes files


npm run lint

Run your unit tests


npm run test:unit

Run WebApp as a whole

From the root directory of this repo, run the following commands.

chmod +x build.sh # if it's not executable
./build.sh

xdrone-webapp's People

Contributors

georgesoteriou avatar kittykg avatar matt-baugh avatar mariateguiani avatar dependabot[bot] avatar

Watchers

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