Skip to content

marius-krgr/letsscience-app

 
 

Repository files navigation

Let's-Science App

Starting the development server

# install dependencies
sudo apt install openjdk-18-jre
npm install
cd functions && npm install && cd ..
npm install -g firebase-tools

# build the functions
npm run functions:build

# start the firebase emulator
firebase emulators:start

In a separate terminal:

# start the preact development server 
npm run dev

You can now use the served app from the local preact server.

CLI Commands

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve

# lint the project
npm run lint

# immediately fix various issues
npm run lint-fix

# run tests with jest and enzyme
npm run test

For detailed explanation on how things work, checkout the CLI Readme.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.9%
  • JavaScript 15.9%
  • HTML 2.2%
  • CSS 1.0%