Back-end API framework for colleges.
- Clone the repository
git clone https://github.com/ccfcet/karma- Install node, npm and nodemon globally.
- Run
npm install-
Rename
config.example.jsonfile inside./lib/data/config/toconfig.jsonand fill the database information whilst creating the necessary databases on your MySQL server. -
In case you get an error like
npm ERR! Failed at the argon2@0.19.3 install script, installbuild-toolsfor your system.
# install dependencies (development)
npm install
# install dependencies (production)
npm install --production
# serve with live reload at localhost:3000 (development)
# includes nodemon and eslint
npm run dev
# serve in a production environment
npm start
# run eslint
npm run lint
# run eslint with --fix flag
npm run lint--fix- Run
grunt apidocand anapidoc/folder will be created insidedocsfolder in the project's root. - Go to that folder and open
index.htmland access the API documentation.
Contributions are always welcome. Please take notice of the LICENSE and NOTICE files. Any commit to the repository implies you agree with the conditions specified in the files.
Enabling CORS securely.