Skip to content

cryptoversus-io/Wallet-template

Repository files navigation

README.txt

Project: Wallet Application EXAMPLE

Introduction

This Wallet Application is a simple Kotlin-based web project using Javalin to serve a web page and handle backend logic. The project includes a Wallet.kt Kotlin file as the main class and a home.html file for the frontend.

Prerequisites

Project Structure

  • src/main/kotlin/com/wallet/Wallet.kt: Main Kotlin file for backend logic.
  • src/main/resources/ : Static HTML file(s) for the frontend.

Setup Instructions

  1. Clone or download the project to your local machine.
  2. Open the project in your IDE.
  3. Ensure that the JDK is properly set up in your IDE.

Building the Project

  1. Navigate to the root directory of the project via the terminal or command prompt.
  2. Run the following command to build the project: 'gradle clean build'
  • To use the Gradle Wrapper use './gradlew clean build'
  • If ./gradlew permission is denied run 'chmod +x gradlew'
  1. If the build is successful, you should see a BUILD SUCCESSFUL message in the terminal.

Running the Application

  1. To run the application, execute: '''gradle run''' or '''./gradlew run'''

  2. Once the application starts, it will be accessible at http://localhost:8080.

  3. Open a web browser and navigate to http://localhost:8080 to view the home.html page.

Important Notes

  • The home.html file is served as a static file by the Javalin server running in Wallet.kt.
  • Any changes to the Kotlin files will require a rebuild of the project.
  • For detailed information on the project's functionality and API endpoints, refer to the inline comments in the Wallet.kt file.
***************************************************
*  ____  ___   ___  ____    _    _   _  ____ _  __*
* / ___|/ _ \ / _ \|  _ \  | |  | | | |/ ___| |/ /*
*| |  _| | | | | | | | | | | |  | | | | |   | ' / *
*| |_| | |_| | |_| | |_| | | |__| |_| | |___| . \ *
* \____|\___/ \___/|____/  |_____\___/ \____|_|\_\*
***************************************************

Next Template is the FlexNet Stack


contact @NinjaAssPirate | @KitBaroness

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published