tejash-jl / inji-web

Repo contains code for Inji Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inji-Web

Injiweb is a web interface for users who does not have access to smartphone for accessing and using digital credentials. A user should be able to do primariliy 4 key actions - fetch, download, store, share.


Installations:

Node 18 - Can be installed using nvm. Run following commands to install node

$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
$ nvm install 18

Configuration:

Inji web connects with a backend-for-frontend service called Mimoto. URLs to connect with this service can be updated in the config file by running the following command:

$ nano ./inji-web/src/utils/config.js

Once the config file is updated run following commands to save the updates:

ctrl + o and then y to save the changes

ctrl + x to exit


Folder Structure:

  • helm: folder contains helm charts required to deploy on K8S

  • inji-web: contains the source code and Dockerfile


Run Inji Web:

  • Run following commands to start the application:
$ cd ./inji-web
$ npm install
$ npm start

Run npm test to run tests

  • Build and run Docker for a service:
$ cd ./inji-web
$ docker build -t <dockerImageName>:<tag> .
$ docker run -it -d -p 3000:3000 <dockerImageName>:<tag>

About

Repo contains code for Inji Web

License:MIT License


Languages

Language:JavaScript 88.0%Language:Shell 6.4%Language:Smarty 2.1%Language:HTML 1.9%Language:Dockerfile 1.1%Language:CSS 0.6%