API for claiming website system (INR token)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone https://git.webservice-host.net/inery_dev/claim-api.git
git checkout {your_branch}
### Prerequisites
What things you need to install the software and how to install them:
- copy **.env_example** to **.env** file
- Fill in the information in created **.env** file
- *Authorization code*
console.log(jwt.sign({ data: 'foobar' }, process.env.JWT_SECRET));
Authorization example: Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoiZm9vYmFyIiwiaWF0IjoxNTg1NDk2MzA3fQ.un1iJw76WaYCtftPWhGbcgsdRzxVrcRxuX4PsZV0UGA
A step by step series of examples that tell you how to get a development env running.
npm install
Run the project with following commands: npm start
or node index
.
Node.js version 12+
npm version 6+
MySQL
//
- Milan Gojković - GitLab
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details