TestMaster helps managing tests.
Server is a Express.js application. It serves static resources from the client-compiled/
folder and provides the CRUD API.
The app requires MySQL server to be up-and-running.
Client app is an Angular 6 app. The NG-CLI task compiles it into client-compiled/
wherefrom it's served by Express.js app.
- Make sure the MySQL server is installed.
- Create the database. Check the DB manual file.
- Clone the project and run
npm install
in the project folder to install dependencies. - Create
server/config.json
(see appropriate doc).
Make sure field values correspond to what you entered right before. - Apply DB changes:
npm run sqlz -- db:create
at the very beginning of the project,npm run sqlz -- db:migrate
to apply DB updates (this should be done at the very beginning as well).
npm run sqlz -- db:migrate:undo
to undo last migration.
- Run server:
npm run server
- Run client watch-and-compile:
npm run client:dev
- Visit http://localhost:8080.
- NG command:
npm run ng
. Add some params after--
if you need more, e.g.,npm run ng -- e2e
. - Sequelize-CLI:
npm run sqlz
(see "Setup / Apply DB changes" chapter for some examples).
Author: Roman Melnyk (site).
The app is developed for integration with ThePeopleGroup software development process.