Skip to content

thedeveloperr/boardjs

Repository files navigation

Project Info

This project was made during statusbrew javascript bootcamp SBCamp 2017 to implement state management using ngrx store.

install dependencies

yarn

start the server

npm start

use Hot Module Replacement

npm run server:dev:hmr

go to http://0.0.0.0:3000 or http://localhost:3000 in your browser

Getting Started

Dependencies

What you need to run this app:

  • node and npm (brew install node)
  • Ensure you're running the latest versions Node v6.x.x+ (or v7.x.x) and NPM 3.x.x+

If you have nvm installed, which is highly recommended (brew install nvm) you can do a nvm install --lts && nvm use in $ to run with the latest Node LTS. You can also have this zsh done for you automatically

Once you have those, you should install these globals with npm install --global:

  • webpack (npm install --global webpack)
  • webpack-dev-server (npm install --global webpack-dev-server)
  • karma (npm install --global karma-cli)
  • protractor (npm install --global protractor)
  • typescript (npm install --global typescript)

Running the app

After you have installed all dependencies you can now run the app. Run npm run server to start a local server using webpack-dev-server which will watch, build (in-memory), and reload for you. The port will be displayed to you as http://0.0.0.0:3000 (or if you prefer IPv6, if you're using express server, then it's http://[::1]:3000/).

server

# development
npm run server
# production
npm run build:prod
npm run server:prod

Other commands

build files

# development
npm run build:dev
# production (jit)
npm run build:prod
# AoT
npm run build:aot

hot module replacement

npm run server:dev:hmr

watch and build files

npm run watch

Configuration

Configuration files live in config/ we are currently using webpack, karma, and protractor for different stages of your application

License

MIT

About

Project made during Statusbrew Javascript bootcamp SBCamp2k17 for learning to use ngrx store. http://thedeveloperr.github.io/boardjs/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published