Demo Finance Web app.
- Python
- Django Rest Framework
- SimpleJWT authentication
- HTML
- CSS
- JavaScript
-
Clone the repo
-
open repo in command line
-
create a virtual environment
# For linux and MacOS devices run the below command $ python3 -m venv venv # For windows $ python -m venv venv
-
Activate Virtual Environment
# For Linux and MacOS $ source venv/bin/activate # For windows $ .\venv\Scripts\activate.bat
-
Install Requirements
$ pip install -r requirements.txt
-
create Credentials file create a file named
credentials.json
with the below format{ "security_key": "random-security-key" }
-
Run Migrations
$ python manage.py makemigrations $ python manage.py migrate
-
Runserver
$ python manage.py runserver
-
Run HTTP-SERVER for frontend open the repo in a new cmd window
$ cd frontend # For Linux and MacOS $ python3 -m http.server 9000 # For Windows $ python -m http.server 9000
-
Done - Now visit localhost:9000 in your browser