Skip to content

dalmia007/airbank-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Airbank Challenege

Screen Shot 2022-10-04 at 2 06 18 AM

Screen Shot 2022-10-04 at 2 06 48 AM

Tech Stack

Vue

Nuxt

Tailwind

Javascript

Apollo

GraphQL

Node

TypeScript

Prisma

PostgreSQL

Deployment

To deploy this project make sure you have POSTGRES installed and an instance running. Also have two terminals open. One for backend and one for frontend.

Backend

  cd backend
  npm install

Create the .env needed for the connection with database with the following info

DATABASE_URL="postgresql://USER:PASSWORD@localhost:5432/airbank_challenge?schema=public"

where USER and PASSWORD are your respective login credentials for the PSQL database

After this run

  npx prisma generate
  npx prisma migrate dev

This will setup the database and seed the data into the database. Once complete, run

  npm run dev

This will run the server. Keep this running!

Frontend

In a seperate bash terminal

  cd frontend
  npm install
  npm run dev

This will run the client. Keep this running!

Then go to the localhost specified by in the client to run the app.

About

App Challenge for Airbank

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published