Created web app allows for browsing, searching and creating adverts. Users are also presented with a dedicated messaging system, allowing for communication between parties. Application as a whole, was created using three-tier architecture which includes: user interface accessible via web browsers, REST API server and a database. Development included using technologies such as React and Django, along with Django REST Framework. In order to ensure proper operation, vast amount of unit tests was developed alongside the application.
- Docker
- NodeJS
- Yarn or npm
- Clone the repository and navigate to the project directory
git clone https://github.com/lorczyslav/Omni.git
cd Omni
- Start docker
service docker start
- Build the app
docker-compose build
- Perform Django migration
docker-compose run --rm app sh -c "python manage.py migrate"
- Populate DB with initial static data
docker-compose run --rm app sh -c "python manage.py loaddata initial_data.json"
- Navigate to client app and install node modules
cd client
yarn install # or npm install
To start the Django API app (accessible at localhost:8000):
docker-compose up
To start the client app (accessible at localhost:3000):
yarn start
To run the Django unit tests:
docker-compose run --rm app sh -c "python manage.py test"
If you are using an ad-blocker, some requests might get blocked, reporting in browser's console as CORS errors. Simply disable adblocker for best experience.