Giter VIP home page Giter VIP logo

search_properties's Introduction

Properties search app

Properties Search Deployment to the Cloud

Click the DEPLOY TO JELASTIC button, specify your email address within the widget and press Install.

Deploy to Jelastic

Note: If you are already registered at Jelastic, you can deploy this cluster by importing the package manifest raw link within the dashboard.

You will be prompted for APP ID and APP KEY credentials for Here.com API as well as an option to choose a different URL for initial package deployment.

Environment name will be the name of your environment. It will also be the initial url generated for your application.

Usually, you can choose between multiple regions, depending on your hosting provider.

and click on Install

Install Prompt

Install locally for development

  • Install nodejs 12.x (tested with 12.18.2)

  • Install PostgreSQL or PostgreSQL-compatible database (like CockroachDB)

  • Install all of the dependencies:

npm ci
  • Copy the example environment file:
cp .env.example .env
  • Adjust the settings in the .env file:

Datbase settings

DB_HOST=127.0.0.1
DB_USER=maxroach
DB_PASSWORD=
DB_NAME=search_properties
DB_PORT=26257
DB_VERSION=12
# Used for databases like CockroachDB
DB_MIGRATIONS_TRANSACTIONS=false
DEBUG=knex:*

DEBUG is the debug parameter used in knex for adjusting the debug information

DB_MIGRATIONS_TRANSACTIONS is an additional environment variable, related to a problem when running migrations under databases like CockroachDB. Set to false for CockroachDB

  • Run the migrations:
npm run migrate
  • Start the server (this will start the server behind nodemon, so that your changes to files will cause server restart)
npm run dev

SWAGGER API Docs are available at this endpoint:

/api-docs/

search_properties's People

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.