GithubHelp home page GithubHelp logo

ajaen4 / sityex-front-end Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 80.87 MB

SityEx is a one-stop platform for expats living in Madrid. This repo contains the front-end code.

Home Page: https://sityex.com

JavaScript 99.68% CSS 0.32%
firebase next react vercel posthog sentry

sityex-front-end's Introduction

SityEx

Introduction

SityEx is a one-stop platform for expats living in Madrid, Spain.This project's objective is to contain all the front-end development and the CI/CD to deploy to Vercel.

Tech Stack

Technologies used:

  • React
  • Redux
  • Mapbox
  • Next.js
  • Vercel
  • Sentry
  • PostHog
  • Firebase
  • Meta Ads

Requirements

  • You must own a Firebase, Vercel, PostHog, Meta Ads and Sentry account.
  • For local deployment you must have a file named .env in the root path with the following variables:
## Firebase env variables
NEXT_PUBLIC_API_KEY=
# When running locally it has to point to the default domain
NEXT_PUBLIC_AUTH_DOMAIN=
NEXT_PUBLIC_PROJECT_ID=
NEXT_PUBLIC_STORAGE_BUCKET=
NEXT_PUBLIC_MESSAGING_SENDER_ID=
NEXT_PUBLIC_DATABASE_URL=
NEXT_PUBLIC_APP_ID=
NEXT_PUBLIC_MEASUREMENT_ID=
# Mapbox environment variables
NEXT_PUBLIC_MAPS_API_KEY=
NEXT_PUBLIC_MAPS_STYLE=
NEXT_PUBLIC_MAPS_STREET_STYLE=
NEXT_PUBLIC_PLACES_API_KEY=
# User behaviour/monitoring env variables
NEXT_PUBLIC_POSTHOG_API_KEY=
NEXT_PUBLIC_FACEBOOK_PIXEL_ID=
NEXT_PUBLIC_SENTRY_DSN_URL=
NEXT_PUBLIC_SENTRY_ORG=
NEXT_PUBLIC_SENTRY_PROJECT=

# BELOW VARS ARE ONLY NEEDED TO TEST CI/CD LOCALLY

## Has to be set locally even though it is inferred in the CI/CD pipeline
## for the client code to read it locally when testing
NEXT_PUBLIC_SENTRY_DEPLOY_ENVIRONMENT=
# GCP credentials to deploy to Firebase
GCP_SA_KEY_BASE_64=
# Vercel
VERCEL_ORG_ID=
VERCEL_PROJECT_ID=
VERCEL_TOKEN=
# Sentry
SENTRY_AUTH_TOKEN=
SENTRY_LOG_LEVEL=
  • Versions:
    • React 18.0.0
    • Next 14.0.2
    • Redux 9.0.2

Installation

First, you will need to install node and npm.

To test locally you will need to install the dependencies and run the local development server:

npm i
npm run dev

Project Structure

The project's structure is the following:

  • .github: GitHub Actions workflows.
  • public: static files.
  • src: React and Next.js code.

sityex-front-end's People

Contributors

ajaen4 avatar

Stargazers

 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.