This repository contains project files for epicbrief recruitment task
The idea of this app is to allow users to connect with their google account and list their next 10 calendar events.
- The app, hosted with firebase hosting, is available here
- Server is hosted via cloud run, api docs available under the link
To run the app locally there is docker-compose available, but before you need to set-up environment variables
$ cd server
$ cp env.example .env #fill-up the envrionment variables
afterward simply run:
docker-compose up --build
The app will be available on port 3000 while the server is running on 3001
- React
- Typescript
- Chackra UI
- Vite
- Firebase Hosting
- Express
- Typescript
- Google Auth
- Firestore
- OpenAPI
- Docker
- Cloud Run
firestore.rules
: Firebase security rules for Firestore database.firebase.json
: Configuration file for Firebase services.deploy.sh
: Shell script for deployment processes.public
: Contains publicly accessible files.app
: Frontend application folder.server
: Backend server folder.docker-compose
: Docker Compose configuration to start the app locally.
index.html
: Entry HTML file for the frontend.Dockerfile
: Instructions for Docker to build the frontend app and serve the content with nginx.dist
: Compiled and bundled files ready for deployment.public
: Publicly accessible files for the app.vite.config.ts
: Configuration file for Vite.src
: Source code of the frontend application.App.tsx
: Main React component.main.tsx
: Entry point for the React app.api
: Contains API related files.assets
: Assets specific to the app.compontents
: React components for the app.
Dockerfile
: Instructions for Docker to build the server's container.deploy.sh
: Deployment script for the server.build
: Compiled server files.openapi.json
: OpenAPI specification for the server's API.src
: Source code of the backend server.types
: TypeScript type definitions.core
: Core functionalities of the server.app.ts
: Main file to start the server.repositories
: Data access layers.actions
: Business logic implementations.controllers
: Controllers to handle API requests.services
: Service layer with business logic.