Skip to content

inery-blockchain/claim-api

Repository files navigation

claim-api

API for claiming website system (INR token)

Getting Started

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

Installing

A step by step series of examples that tell you how to get a development env running.

Instalation packeges from package.json file

    npm install

Get project running

Run the project with following commands: npm start or node index.

Requirements

  1. Node.js version 12+
  2. npm version 6+
  3. MySQL

Deployment

//

Built With

  • Express - The web framework used
  • npm - Dependency Management

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published