Skip to content

nokia-wroclaw/innovativeproject-training-planner

Repository files navigation

innovativeproject-training-planner

App that let you manage you webinar sessions.

  • create your session
  • save it for later if you are not ready
  • invite participants

App is being developed in collaboration with Nokia Wroclaw

Development

TL;DR

Just run

npm run dev

And your app will:

  • Run react development server
  • Run node.js backend API server using nodemon package

If you are creacting app from scratch - please additionally run:

npm run init

to install all dependencies.

In depth explanation

There are several scripts in the root folder that you can take advantage of:

  • npm run init - install all dependencies of project. I strongly advice to use it IF you are creating app from scratch. If you have already your node_modules and you would like to reinstall them - use npm run reinstall command.
  • npm run dev - run application's development environment. It starts both webpack-dev-frontend server and API backend server.
  • npm run reinstall - delete all node_modules directories and install dependencies from scratch.
  • npm run rm - delete all node_modules from project.
  • npm run lint - runs ESlint over all code in the project.
  • npm run lint:fix - runs ESlint over all code and additionally fix all mistakes which can be fixed without user interaction.
  • npm test - runs all unit tests across the project using jest framework. Some unit tests perform snapshot testing so sometimes you might need to update snapshot via adding -u flag.
  • npm run build - build production version of client. Creates client/build directory.

Production

Both deployments are dockerized, thats why you need to make sure you have docker on your machine. You can find install instructions here. Just choose your platform in Supported platforms paragraph and follow instructions.

Local deployment is also dependent on docker-compose package. We are using Compose file version 3:

version: '3'
services:
(...)

Thats why you must be sure that you are using at least Docker version 1.13.0.

Cloud deployment

App is served by Heroku. You can find latest production release here.

Local deployment

To start the app, navigate to root directory and type:

docker-compose up

or

docker-compose up -d

The second option will run container in detached mode, which means you will still be able to use your console. For more usefull flags type docker-compose up -h

Heroku development

Every member of our crew have his own development cloud deployment:

You can find all the WIP changes there.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published