Web app to store and manage you pet's documents.
Codebase | Description |
---|---|
jill | React Frontend |
trixie | Nest.js API |
types | Shared typings |
Create a Firebase project with enabled Google Authentication and Storage Bucket
- Google Authentication is used for
- Storage Bucket is used for storing pets avatars
- 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'
};
- 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',
};
yarn start:all
After running yarn run start
, api docs are available under http://localhost:5001/graphql
Project is using nx.dev workspaces, ways of adding new apps, libs to nx workspace described at nx documentation