Skip to content

bedre7/sky-booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📝 About

This project is a mobile app that allows users to make flight reservations.

🧱 Technologies used

Tech Stack

  • React Native
  • Typescript
  • NestJS
  • Postgres
  • Prisma

Dev Tools

  • Android Studio
  • Expo

👩‍🚒 System Architecture

System Architecture

📱 Screenshots

  1. Signup/Login Screen

1. Admin Dashboard

1. User Dashboard

🛠️ Installation and setup instructions


  1. Clone this repo.

    git clone https://github.com/bedre7/sky-booking.git
  2. Backend Setup
    1. Navigate to the backend directory
    2. Install the dependencies

      npm install
    3. Create a .env file and add the following environment variables

      DATABASE_URL="postgresql://<username>:<password>@<host>:<port>/<database-name>?schema=public"
      JWT_ACCESS_TOKEN_SECRET="<your-access-token-secret-key>"
      JWT_ACCESS_TOKEN_EXPIRES_IN="30m"
      JWT_REFRESH_TOKEN_SECRET="<your-refresh-token-secret-key>"
      JWT_REFRESH_TOKEN_EXPIRES_IN="1d"
    4. Start the server

      npm run start:dev
  3. Mobile App Setup
    1. Navigate to the mobile directory
    2. Install the dependencies

      npm install
    3. Create a .env file and add the following environment variables

      LOCAL_API_URL="http://10.0.2.2:3000"
    4. Start the server

      npm start