Giter VIP home page Giter VIP logo

real-estate-server's Introduction

Server to launch API for Real Estate project ๐Ÿ–ฅ๏ธ

Server to run real estate project.

Real Estate Client ๐Ÿ˜๏ธ

๐Ÿค– Used Technologies

Installation & Setup Guide

  • git clone [email protected]:jkarelins/real-estate-server.git
  • PostgreSQL DB should be launched. e.g. run it in docker container Change configuration in /db.js - file
  • cd real-estate-server
  • npm install
  • npm run start

To run server on local machine ๐Ÿ”Œ

  • FREE Register on Cloudinary

  • FREE Create STRIPE Account

  • Create .env file in root folder of project with folowing content:

  • CLOUDINARY_URL=Your cloudinary URL

  • CLOUD_NAME=Your cloud name

  • API_KEY=Cloudinary API KEY

  • API_SECRET=Cloudinary API secret

  • API_BASE_URL=Your Cloudinary base URL

  • SECURE_DELIVERY_URL=Your Cloudinary secure delivery URL

  • STRIPE_KEY=Your Stripe key - begins with sk test

To deploy on Heroku ๐Ÿ”Œ

  • Register FREE: Create Heroku Account

  • Create new project

  • After deployment go to project settings

  • Setup Config Vars

  • CLOUDINARY_URL - Your cloudinary URL

  • CLOUD_NAME - Your cloud name

  • API_KEY - Cloudinary API KEY

  • API_SECRET - Cloudinary API secret

  • API_BASE_URL - Your Cloudinary base URL

  • SECURE_DELIVERY_URL - Your Cloudinary secure delivery URL

  • STRIPE_KEY - Your Stripe key - begins with sk test

To test API is running ๐Ÿ‘

Check any of server routes. e.g. /user or /advert/all If App was first launched, should return empty array and Response code should be 200.

real-estate-server's People

Contributors

jkarelins avatar dependabot[bot] 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.