Datcord is a full-stack web application cloned and inspired by Discord. The build currently supports six features for user interactivity: (1) Servers: Full CRUD, (2) Channels: Full CRUD, (3) Channel Messages: Full CRUD, (4) Memberships: Full CRUD, (5) Theme: Switch between light and dark mode, (6) Friendship: Full CRUD
-
Clone this repository (only this branch)
-
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 starter 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.