ssanusi / Uber-api

Uber Clone API Built With TypeScript, GraphQl-Yoga, Postgresql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uber Clone API

Uber Clone is an Application that allows Riders to Request for a ride.

Prerequisities

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of NodeJs and Yarn/npm Installed
  • You have a <Windows/Linux/Mac> machine. State which OS is supported/which is not.
  • You have read <guide/link/documentation_related_to_project>.

Installing <project_name>

To install <project_name>, follow these steps:

Linux and macOS:

yarn install

Windows:

yarn install

Environmental Variable

create .env file add the below.

DB_USERNAME=
DB_PASSWORD=
DB_HOST=
SENDGRID_API_KEY=
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_PHONE=
JWT_KEY=

Using <project_name>

To use <project_name>, follow these steps:

<usage_example>

Add run commands and examples you think users will find useful. Provide an options reference for bonus points!

Features

Public Resolvers:

  • Sign In / Sign Up with Facebook
  • Sign In with Email
  • Start Phone Number Verification
  • Complete Phone Number Verification
  • Sign Up with Email

Authentication:

  • Generate JWT
  • Verify JWT

Private Resolvers:

  • Get my Profile
  • Request Email Verification
  • Complete Email Verification
  • Update my Profile
  • Toggle Driving Mode
  • Report Location / Orientation
  • Add Place
  • Edit Place
  • Delete Place
  • Get My Places
  • See Nearby Drivers
  • Subscribe to Nearby Drivers
  • Request a Ride
  • Get Nearby Ride Requests
  • Subscribe to Nearby Ride Requests
  • Update Ride Status
  • Get Ride
  • Subscribe to Ride Status
  • Create a Chat Room
  • Get Chat Room Messages
  • Send a Chat Message
  • Subscribe to Chat Room Messages
  • Get Ride History
  • See Ride Detail

Contributing to <project_name>

To contribute to <project_name>, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: `git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Contributors

Thanks to the following people who have contributed to this project:

You might want to consider using something like the All Contributors specification and its emoji key.

Contact

If you want to contact me you can reach me at your_email@address.com.

License

This project uses the following license: <license_name>.

About

Uber Clone API Built With TypeScript, GraphQl-Yoga, Postgresql


Languages

Language:TypeScript 100.0%