Coder Social home page Coder Social logo

shehabshalan / house-sync Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 393 KB

HouseSync - Manage house and roomates at ease

Home Page: https://house-sync.netlify.app

Python 19.89% JavaScript 2.24% HTML 0.39% CSS 1.26% TypeScript 76.22%
fastapi postgresql python react react-query shadcn-ui typescript

house-sync's Introduction

HouseSync

HouseSync is web-based app built to help roommates manage their household. It allows users to create spaces, add roommates, create recurring chores (tasks) and shopping lists.

The app implements an easy to use login process using Google OAuth 2.0.

Getting Started

The app is built using FastAPI, React and Shadcn UI. To run the app locally, you will need to install the following:

  • Python >=3.11
  • Node.js >=18.0
  • PostgreSQL >=15.0

API

  1. Clone the repo
  2. Navigate to the api directory
cd api
  1. Create a virtual environment and install the dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Create a .env file in the root directory and copy the contents of .env.example into it. Add the following variables:
cp .env.example .env
DATABASE_URL=postgresql://<username>:<password>@localhost:5432/<database_name>
GOOGLE_CLIENT_ID=<google_client_id>
GOOGLE_CLIENT_SECRET=<google_client_secret>
  1. Run the migrations
alembic upgrade head
  1. Run the backend server
python -m app.main

Frontend

  1. Navigate to the client directory
cd client
  1. Install the dependencies
npm install
  1. Create a .env file in the root directory and copy the contents of .env.example into it. Add the following variables:
cp .env.example .env
VITE_GOOGLE_CLIENT_ID=
VITE_PROD_BASE_URL=
VITE_DEV_BASE_URL=
  1. Run the frontend server
npm run dev

Built With

house-sync's People

Contributors

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