Coder Social home page Coder Social logo

inji-web's Introduction

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


Updating Mimoto Host

In the api.ts file, modify the mimotoHost to url pointing to the mimoto service running


Running 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 -f Dockerfile.local -t <dockerImageName>:<tag> .
$ docker run -p 3004:3004 <dockerImageName>:<tag>
  • Run Using Docker Compose
$ cd ./inji-web
$ docker-compose up
  • Stop Using Docker Compose
$ cd ./inji-web
$ docker-compose down
  • You can access the application in the below nginx server :

Open URL http://localhost:81

Mimoto Dependency Version : v0.13.0

inji-web's People

Contributors

vijay151096 avatar shiva-beehyv avatar challabeehyv avatar abhishek8shankar avatar sreejit-k avatar bhumi46 avatar prafulrakhade avatar ckm007 avatar mohanachandran-s avatar rakshithb1 avatar vishwa-vyom avatar

Watchers

Prasanna S R avatar Sasikumar Ganesan avatar Ramesh Narayanan avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.