Giter Site home page Giter Site logo

epic-gcal's Introduction

Welcome to Epic-Gcal

This repository contains project files for epicbrief recruitment task

Idea

The idea of this app is to allow users to connect with their google account and list their next 10 calendar events.

Links

Run the app locally

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

Technologies

Frontend

  • React
  • Typescript
  • Chackra UI
  • Vite
  • Firebase Hosting

Backend

  • Express
  • Typescript
  • Google Auth
  • Firestore
  • OpenAPI
  • Docker
  • Cloud Run

Project Directory Structure

Root Directory

  • 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.

App Directory

  • 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.

Server Directory

  • 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.

epic-gcal's People

Contributors

getriax avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.