Skip to content

Navid107/RealStatesApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

RealDeal Real States application

Tech Used: express typescriptmongodbnodejsreact

A fully functional project written in Node.js showing how to create a REST API

This is a simple CRUD application where every part of this project is sample code which shows how to do the following:

  • Create a custom web server with Node.JS using HTTPRouter
  • Create a simple REST API that serves Client and easy to manage
  • Create a simple charts or graphs with Refine
  • Create a Mongoose DataBase which saves the data in cloud
  • Create a front end with React

Demo

Screenshot

Screenshot

  • View the properties

Screenshot

  • Create a property

Screenshot

  • Property details

Screenshot

  • Profile page

Screenshot

How to install dependencies for this app

Please follow the steps to intall all dependencies to use this repo

  1. Clone this project.
  2. Set up a local mangoose database or use MongoDB Cloud.
  3. In server folder create a .env file and inside .env file create a variable "MONGODB_URL" and pass your mongoDB to it.
  4. Create an account in Cloudinary and inside .env file pass these variables and CLOUDINARY_CLOUD_NAME = "", CLOUDINARY_API_KEY = "", CLOUDINARY_API_SECRET = "".
  5. in Client folder create a .env file and indide .env file create a variable REACT_APP_GOOGLE_CLIENT_ID = "", in Google Cloud create an project and pass the value of Client ID into .env file.
  6. npm install

Available Scripts

Running the development server.

    npm run dev

Building for production.

    npm run build

Running the production server.

    npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published