Skip to content

jkarelins/real-estate-server

Repository files navigation

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.

About

Server to run real estate project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published