Vue
Nuxt
Tailwind
Javascript
Apollo
GraphQL
Node
TypeScript
Prisma
PostgreSQL
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.
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!
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.