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

ajithpmohan/taxi-app

Repository files navigation

Taxi App

Build Status codecov

Tech Stack

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

System Requirements

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

Environment Variables

Add your REACT_APP_GOOGLE_API_KEY inside client/.env.development file.

Usage

Download the repository:

git clone git@github.com:ajithpmohan/taxi-app.git

Build the Services

docker-compose build

Starting App

docker-compose up -d

Access the services in the development mode.

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

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

Run React.js Code Linter & Formatter

docker-compose exec client npm run lint

docker-compose exec client npm run format

Run Python Code Linter & Formatter

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

Build & Run React.js E2E Testing using Cypress

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

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

Run Django Coverage Report

docker-compose exec server ./coverage.sh