Coder Social home page Coder Social logo

finman-api's Introduction


Markdownify
finman-api

This is the backend of the DAT257 project by team Sony Walkman WM-FX199.

To see the frontend, refer to the following link: finman-frontend.

Folder StructureGetting StartedUsage

Folder Structure

.
├── documents                                  # Documentation files
│   ├── Contract                               # Social Contract
│   ├── Database                               # ER Diagram
│   ├── Individual Reflections
│   ├── Project Scope
│   ├── Team Reflection
│   └── Template                               # Co-author commit template
└── backend                                    # Backend related files
    └── src
        ├── main
        │   ├── java/net/finman
        │   │   ├── controller                 # Exposed endpoints to our api
        │   │   ├── dao                        # Queries to the database
        │   │   ├── exception                  # Exceptions
        │   │   ├── mapper                     # Converts SQL records to POJOs
        │   │   ├── model                      # POJOs
        │   │   └── service                    # Business logic
        │   └── resources                      # Config, schema, and inserts
        └── test/java/net/finman               # Test files

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

  • Java 1.8 or later
  • Maven 3.2+
  • PostgreSQL 9.5 or later

Installation

  1. Clone the repo
# Clone this repository
$ git clone https://github.com/Puh00/finman-api

# Go into the repository
$ cd finman-api

# Go into the backend sub-directory
$ cd backend
  1. Add postgresql credentials to your application.properties:
# for your database credentials
spring.datasource.url=URL_TO_YOUR_DATABASE
spring.datasource.username=YOUR_USERNAME
spring.datasource.password=YOUR_PASSWORD

# if you decide to use a schema in spring
spring.sql.init.enabled=true
spring.sql.init.schema-locations=classpath:/schema.sql
spring.sql.init.continue-on-error=true
  1. Run the application from your favourite editor or from the command line:
# Run Spring Boot app using Maven, by default, the app runs on port 8080
$ mvn spring-boot:run

Usage

For instruction on how to interact with the api, please refer to the API documentation.

finman-api's People

Contributors

puh00 avatar yenanw avatar luddebubb avatar stinahagl avatar hedy-99 avatar elinfredrik avatar dependabot[bot] avatar gabrieloldaccount avatar dependabot-preview[bot] avatar

Stargazers

 avatar

Watchers

James Cloos 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.