Skip to content

badgers-ua/pet-documents

Repository files navigation

Badgers UA Logo

Web app to store and manage you pet's documents.

Structure

Codebase Description
jill React Frontend
trixie Nest.js API
types Shared typings

Pre Requirements

Create a Firebase project with enabled Google Authentication and Storage Bucket

  • Google Authentication is used for
  • Storage Bucket is used for storing pets avatars

  1. Add environment.ts file to the root of trixie/src/environments with following structure:
export const environment = {
  production: false,
  databaseUrl: YOU_MONGO_DB_URL,
  port: 5001,
  fbBucketUrl: YOUR_FIREBASSE_STORAGE_BUCKET_URL,
  fbServiceAccount: 'YOUR_FIREBASSE_SERVICE_ACCOUNT'

};

  1. Add environment.ts file to the root of jill/src/environments with following structure:
import appVersion from '../app-version';

export const environment = {
  production: false,
  appVersion: appVersion,
  apiUrl: 'http://localhost:5001',
  firebaseConfig: 'YOUR_FIREBASE_CONFIG',
};

Run Locally

yarn start:all

After running yarn run start, api docs are available under http://localhost:5001/graphql

Steps to add app or lib to monorepo

Project is using nx.dev workspaces, ways of adding new apps, libs to nx workspace described at nx documentation

About

Web app to store and manage you pet's documents

Resources

Stars

Watchers

Forks

Languages