Skip to content

yashb042/ondc_demo_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo does 2 things

  1. Generating the public-private key-pair

  2. Running the demo application

  3. Generating the public-private key-pair In order to run the public-private file, you should use Docker (if you have golang installed, you can run directly)

    Using Docker Go to the encryption folder, and run the following command

     docker build -t encryption .
     docker run encryption
    

    This will generate the public-private key pair in the console

    Using Golang (if you have golang installed) Go to the encryption folder, and run the following command

    go run public-private-key-generation.go
    
  4. Running the demo application

    1. Using Docker (Easier) : Make sure that you have docker installed, and docker daemon running Stay in the root folder, and run the following command
      docker build -t demo_app .
      docker run -p 8080:8080 demo_app
      
      This will start the server at port 8080. You can access the server at http://localhost:8080
    2. Using Golang : Make sure that you have golang installed Stay in the root folder, and run the following command
      go run main.go
      
      This will start the server at port 8080. You can access the server at http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published