The product of all our research cartography.
The project structure is divided into a Flask backend pet up in the server
folder and a React.js frontend (using Vite and Typescript) set up in the client
folder.
/
├── client/
│ ├── public/
│ └── src/
├── server/
│ ├── helpers/
│ └── api.py
└── README.md
-
Set Up Virtual Environment and Install Dependencies
Navigate to the "server" directory, set up a virtual environment and install the Python dependencies:
cd server python -m venv env source env/bin/activate pip install -r requirements.txt
-
Run the Server
Start the Flask server:
python3 api.py -p 8000
The server will be running at http://localhost:8000.
-
Install Dependencies
Navigate to the "client" directory and install the Node.js dependencies:
cd ../client npm install
-
Run the Development Server
Start the Vite development server for the React.js frontend:
npm run dev
This development server will be running at http://localhost:5173.
Contributions are what make the open source community such an amazing place to be, learn, and grow. Any contributions you make to this project are greatly appreciated.