Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

jbroma/Omni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omni.ads Build Status

About

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.

Requirements

  • Docker
  • NodeJS
  • Yarn or npm

Installation

  1. Clone the repository and navigate to the project directory
git clone https://github.com/lorczyslav/Omni.git
cd Omni
  1. Start docker
service docker start
  1. Build the app
docker-compose build
  1. Perform Django migration
docker-compose run --rm app sh -c "python manage.py migrate"
  1. Populate DB with initial static data
docker-compose run --rm app sh -c "python manage.py loaddata initial_data.json"
  1. Navigate to client app and install node modules
cd client
yarn install # or npm install

Usage

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"

Troubleshooting

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.

Screenshots

About

Digital marketplace project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published