This is a mock API server for the Canvas project. It is built using Node.js and Express.js. It is used to simulate the Canvas API for the frontend development of the Canvas project.
First enter the server
directory:
$ cd server
From here you can install all dependencies with npm
.
$ npm i
Run the server for development using:
$ npm run start
Run linting prior to committing using:
$ npm run lint:fix
or
$ npm run lint
Testing can be run with:
$ npm run test
or
$ npm run test:verbose
Build to Javascript using:
$ npm run build
And delete the previous build using:
$ npm run clean