Skip to content

FAsami/unisync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniSync

A full-stack application with mobile app, server API, and Hasura GraphQL.

🏗️ Architecture

unisync/
├── mobile/          # React Native/Expo app
├── server/          # Node.js/Express API
├── hasura/          # GraphQL API
└── docker-compose.yml

🚀 Quick Start

Prerequisites

  • Node.js
  • Docker & Docker Compose
  • Expo CLI

1. Start Backend Services

docker-compose up -d

Services:

2. Start API Server

cd server
npm install
npm run dev

Server runs on port 9201.

3. Start Mobile App

cd mobile
npm install
npx expo start

📁 Project Components

Node.js/Express API server with TypeScript.

GraphQL API with PostgreSQL backend.

Mobile App

React Native application with Expo.

🔧 Development

Environment Setup

  1. Database Setup

    cd hasura
    hasura migrate apply
    hasura metadata apply
  2. Code Generation

    cd server
    npm run codegen
  3. Testing

    cd server
    npm test

🔗 Links

📞 Support