Giter VIP home page Giter VIP logo

property-listing's Introduction

Application Architecture

The codebase follows monorepo architecture and uses pnpm workspaces that significantly save more memory on disk and installs packages faster than npm. The reason I chose this architecture to have a great developer experience as I don't need wait for npm to finish installing duplicate node_modules. pnpm checks if the module exists or not if it exists it simply links the module to the package you are trying to install it to. For more information visit pnpm. Though it's monorepo the packages(i.e. backend/frontend) can be deployed to separate containers. And I included this approach when deploying it using docker. Every package is a independent unit of it's own.

Live Demo Links (Live)

Installation Using Docker

docker compose up --build

Local Installation

  • MongoDB should be installed or you can spin up a MongoDB Container & change the MONGO_URI defined in backend/.env.local. Also, you can use only the mongodb service defined in docker-compose.yaml and comment out the other services. This way you don't need to change the MONGO_URI defined in the backend/.env.local file.
  • Run from the root directory npm i -g pnpm
  • Then run pnpm install
  • After that you can run pnpm -r start:dev. It will start both the frontend and backend simultaneously and you should be able to read the logs for both applications.
  • There are also some custom commands you can try out by looking inside the root directory's package.json file

property-listing's People

Contributors

kamilmysliwiec avatar renovate-bot avatar hshakilst avatar dependabot[bot] avatar sacro avatar micalevisk avatar alsoicode avatar progral avatar mchelen avatar h4ad avatar hiagodotme avatar beeman avatar allenfang avatar nosfistis avatar rpihlak avatar rubencodeforges avatar rubiin avatar samverschueren avatar lambdacasserole avatar linkfly avatar blazeu avatar tony133 avatar yurykozhenov avatar fishuke avatar fanybook avatar onozaty avatar schinvendy avatar whitekiwi avatar maximzinovik avatar brunnerlivio 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.