Simple cab ordering and history reviewing system.
- After cloning this repository go to 'server' directory.
- Create following environment variable.
DB_PASSWORD
DB_USER
DB_NAME
DB_HOST
TOKEN_SECRET
- After that install all packages using npm install. All packages are creatd for node version 12.
- After that install knex globally using npm install -g knex.
- Then to create migrations run knex migrate:latest. 6 Then to run the server run npm run start.
- Go to web directory.
- DO npm install to install all dependencies.
- Install react-scripts globally using npm install -g react-scripts.
- Run the development server using npm run start.
- Go to python-cli folder.
- Run command python3 app.py