Server for the Uber Clone Course on Nomad Academy. GraphQL, Typescript, NodeJS
yarn add typescript ts-node nodemon --dev
yarn add tslint-config-prettier --dev
yarn add dotenv class-validator bcrypt
yarn add graphql-yoga graphql-tools merge-graphql-schemas
# install for connect to graphql and typescript
yarn add graphql-to-typescript gql-merge babel-runtime --dev
yarn add helmet morgan cors
yarn add @types/node @types/cors @types/helmet @types/morgan @types/bcrypt --dev
yarn add typeorm pg
yarn add twilio
yarn add @types/twilio --dev
yarn add mailgun-js && yarn add@types/mailgun-js --dev
yarn add jsonwebtoken
yarn add @types/jsonwebtoken --dev
yarn global add now
- Sign In / Sign Up with Facebook
- Sign In with Email
- Start Phone Number Verification
- Complete Phone Number Verification
- Sign Up with Email
- Generate JWT
- Verify JWT
- 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 Message
- Send a Chat Message
- Subscribe to Chat Room Messages
- Get Ride History
- See Ride Detail
- Need relations with User, just add Columns in Entity with userId
@Column({ nullable: true })
userId: number;
- Find operators like between work only with getRepository function(These functions didn't work on active record)
- Typeorm find options
- Make project
- Add credit card info
- Buy Amarican number
- Set Messaging Geographic Permissions
- Go Dashboard
- Copy Auth Token
- Set environment variables in .env file
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_PHONE=