GithubHelp home page GithubHelp logo

andys-surreal-estate-api's Introduction

Surreal Estate API

A simple Real Estate Marketplace API to showcase how to build post and fetch data with React.

Run locally

  • To run locally, clone this repo and install all dependencies npm i
  • Create a .env file in the project root.
  • Paste a MongoDb connection string in there, you can create an instance on Mlab/Atlas for free.
  • E.g: DATABASE_CONN=mongodb://username:[email protected]:17960/surreal-estate

Run in container

  • You can run a pre-configured version of the app and the required database with docker-compose. You can read how to install docker-compose here
  • Once docker-comopse is installed, you can start the app and database by running docker-compose up from the root of this project
  • Alternately, you can run the app in detached mode by running docker-compose up -d from the root of this project
  • You will not see any output from the containers in detached mode. You can check their logs with docker-compose logs SERVICE_NAME
  • You can stop the containers with docker-compose stop in the root of this project
  • You can start them again with docker-compose start
  • You can tear down all the containers with docker-compose down, or Ctrl + c in the terminal window, if not running in detached mode

andys-surreal-estate-api's People

Contributors

dannycallaghan avatar

Watchers

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