This is a lead manager that allows you to track leads. It is built with React and Redux on the frontend, with Django Rest Framework on the backend.
-
npm i
- to install the nodejs dependencies. -
pip install -r requirements.txt
it is recommended you also make your own virtual environment for the project. -
The project is configured for both PostgreSQL and SQLite.
- For SQLite: uncomment the SQLite
DATABASES
code insettings.py
and comment out the PostgreSQLDATABASES
code. - For PostgreSQL: Connect to a PostgreSQL server and change
DATABASES
insettings.py
if need be. Download PostgreSQL and pgAdmin to create a local PostgreSQL server.
- For SQLite: uncomment the SQLite
-
python manage.py makemigrations
andpython manage.py migrate
to create the database. -
npm run dev
ornpm run build
. Then in another terminal in the same directory runpython manage.py runserver
. Your server should now be on localhost:8000 or your local IP address.