Coder Social home page Coder Social logo

esw-backend-template.g8's Introduction

This is a Giter8 template for a TMT backend which creates a sample sbt project.

The created project contains a sample backend application which includes the following :

  • Server wiring along which has handles of all CSW services (SampleWiring.scala)
  • Backend routes for various use cases (SampleRoute.scala)
  • Sample Api and its implementation for both scala and java (SampleImpl.scala, JSampleImpl.java, JSampleImplWrapper.scala)
  • Models and their (de)Serialization using borer (HttpCodecs.scala)
  • A case app for starting server with start command (SampleApp.scala)
  • Unit tests, integration tests for the backend server.

Getting Started

Install Coursier

Steps for installing coursier are documented here

Install Giter8

cs install giter8

Create new project using giter8 template

g8 tmtsoftware/esw-backend-template.g8

This template will prompt for the following parameters. Press Enter to accept the default values, shown in brackets:

  • name: The name of the project.
  • organization: Specifies the organization for this project.
  • prefix: The prefix of the backend application.
  • version: Specifies the version for this project.
  • package: Top level package which dynamically gets created based on provided organization and subsystem in all subprojects.
  • scala_version: Specifies the Scala version for this project.

Once the project is generated, refer to project's README for instructions on how to use, build, and run the project.


NOTE Following section is intended only for testing purpose and can be skipped by the consumers of template.

Testing the template

For people interested in testing the template with the latest commit on the dev branch (Active development branch), refer TESTING.md

esw-backend-template.g8's People

Contributors

manish3323 avatar mausamyede avatar poorva17 avatar shivanithorat avatar shubhamjay 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.