First steps to the UniSport-O-Mat Admin Frontend
npm
Installing If not already installed, use your preferred way to install npm
. It is recommended to install npm
via nvm
. A guide can be found here in the official npm
documentation.
Installing dependencies
After cloning the repository, switch into the repository folder via terminal and type in
npm install
Start the development server
If you want to start the development server on the standard route, localhost:3000
, use the following command
npm start
If you however wish to test the react app on another port, use
PORT=<port> npm start
Testing your app
If you have configured test files to run, you can run them via terminal. More infos are located in the official documentation.
npm test