GithubHelp home page GithubHelp logo

kcabend's Introduction

This is a sample demonstrating the use of Kotlin for developing the back-end of a real-life Web application. The core logic of the application is independent of any particular framework; the current implementation uses Ktor as the Web framework and raw JDBC for persistence.

The fact that the sample implements much of the functionality of a somewhat well-known Web service which has recently been shut down may or not be an accident. :)

Compiling and Running

The application requires Kotlin plugin 0.13.511, which is newer than the latest official release, M12. To install the plugin:

  • Install the latest EAP build of IntelliJ IDEA Community Edition version 15
  • Go to Settings | Plugins | Browse Repositories | Manage Repositories
  • Add this repository to the list
  • Select Kotlin in the list from the list, press the "Update" button.

To build the application, open the checked out directory as an IntelliJ IDEA project. Use the provided run configurations to run the test and the application itself.

The application uses PostgreSQL for persistence. To set up the database:

  • Install PostgreSQL normally
  • Create a database
  • Create the tables using the script resources/schema.sql
  • Edit resources/application.conf and ensure the database connection string (server, port, database name, user and password) is correct.

The frontend for the application is developed in the Pepyatka project. Please follow the instructions in the linked repository to configure and run the frontend.

kcabend's People

Contributors

yole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kcabend's Issues

Postgresql

Please name in README version of Postgresql to use

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.