Skip to content

RealTime Taxi App created using Docker, DRF, React.js, Redux & Cypress for E2E Test

License

Notifications You must be signed in to change notification settings

Tugsjin/taxi-app

Repository files navigation

Taxi App built on Docker, DRF & React.js

Build Status codecov

Features

  • Docker
  • Django Rest Framework
  • Django Channel
  • React.js & Redux
  • Cypress for react.js e2e testing
  • PyTest for django testing
  • PostgreSQL

System Requirements

You need Docker Engine and Docker Compose. Install it from Docker Website

Usage

Download the repository:

git clone [email protected]:ajithpmohan/taxi-app.git

Permission Required

Before building the services update the permission of following bash scripts.

chmod +x server/coverage.sh server/entrypoint.sh server/entrypoint.prod.sh

Build the Services

docker-compose build

Starting App

docker-compose up -d

Access the services in the development mode.

Open http://localhost:3001/ to access client service in the browser.

Open http://localhost:8100/swagger/ to access server service in the browser.

Run React.js Code Linter

docker-compose exec client npm run lint

Run React.js E2E Testing using Cypress

docker-compose -f cy-run.yml run e2e

Run Python Code Linter & Formatter

docker-compose -f pre-commit.yml up --build

Run Django Coverage Report

docker-compose exec server ./coverage.sh

About

RealTime Taxi App created using Docker, DRF, React.js, Redux & Cypress for E2E Test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.5%
  • JavaScript 46.7%
  • HTML 1.2%
  • CSS 1.2%
  • Dockerfile 1.1%
  • Shell 0.3%