A Web application for promoting houses online.
The backend of the project is written in Python (Django) while the frontend is written in ReactJS and Bootstrap 4.
$ sudo pacman -S nodejs docker docker-compose
Clone project
$ git clone git@github.com:KNaiskes/housesPortal.git
Start Docker - pull images
$ sudo systemctl start docker
$ sudo docker-compose up
Install Python - backend dependencies
$ cd housesPortal
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Install ReactJS - frontend dependencies
$ cd housesPortal/frontend
$ npm install
$ sudo docker-compose up # Start database
$ npm start housesPortal/frontend # Start frontend
$ python housesPortal/backend runserver # Start backend
Path | Description |
---|---|
houses/ | Returns all the available houses from the database |
houses/ | Returns the one house with the specified id |
houses/images/ | Returns all the images for the specified house |
houses/landlords | Returns all the available landlords from the database |
houses/landlords/ | Returns the one landlord with the specified id |
Author: KNaiskes
Source Code: https://github.com/KNaiskes/housesPortal
#reactjs #react #javascript