Smartsplit is a full-stack clone project that is originally cloned from Splitwise. It helps users to add expenses and split their bills among friends and groups. This project aims for developers to practice using different technologies and build their web application from scratch.
- Frontend: React, Redux , JavaScript
- Backend: Flask, SQLALchemy, Python
- Database: SQLite(local), PostgreSQL(live site)
-
Clone this repository
-
Install dependencies
pipenv install -r requirements.txt
-
Create a .env file based on the example with proper settings for your development environment
-
Make sure the SQLite3 database connection URL is in the .env file
-
This folder organizes all tables inside the
flask_schema
schema, defined by theSCHEMA
environment variable. Replace the value forSCHEMA
with a unique name, making sure you use the snake_case convention. -
Get into your pipenv, migrate your database, seed your database, and run your Flask app
pipenv shell
flask db upgrade
flask seed all
flask run
-
To run the React App in development, checkout the README inside the
react-app
directory.