Code Monkey home page Code Monkey logo

mobile's Introduction

Mobile.de mini application

A simple repository to implement a mini application for Mobile.de.
The project contains both Backend written in Java/Spring Boot and frontend written in ReactJs. The directory mobile-webapp contains the frontend component.
For database, one in-memory database, H2, have been used.

I have used:
Java 11
Node 12.18.3
H2 database
ReactJS 17.0.2

Getting started

To run this app locally, you will need to :

Be able to run this repository.

Modifying baseURL

The snippet to change BaseURL is placed in index.js under src.
axios.defaults.baseURL = "http://localhost:8082/"

Application Installation in Docker

The application can run as a Docker container.

To run the application in docker, one must install Docker first. After the installation of Docker, install jar file of the application, as miniapp-0.0.1-SNAPSHOT.jar, (Maven can be used to install it) and place it under target folder (target folder is placed in root directory of the project). Precisement both in naming and in path selection is important since the Dockerfile contains COPY target/miniapp-0.0.1-SNAPSHOT.jar miniapp-service.jar command. If the user wants to customise naming or path, he/she should simply change the paths and the namings as desired in this command, as well.

Setting up Frontend

You must have node installed in your system. Go to directory mobile-webapp and run the code npm install

Once the installation is completed, run npm start The application will be up in localhost:3000

mobile's People

Contributors

knhakan avatar

Watchers

 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.