- Install npm
- Open terminal and navigate to frontend folder with
cd
command - Install modules with the command:
npm i
- Install python (less than or equal to python 3.12)
- Open terminal and navigate to backend folder with
cd
command - Create a new environment with the command:
python -m venv myenv
- Activate the environment with the command:
Mac / Ubuntu:
source myenv/bin/activate
Windows:
myenv\Scripts\activate
- Install dependencies with the command:
python -m pip install -r requirements.txt
- Create a database using postgresql called canvaShare.
- Update the env file according to the database and environment details on your computer (DB_NAME, DB_PASS, DB_PORT, SUPER_ADMINS).
- Run the server with the command or run main file (Python):
uvicorn main:app --port=8000 --reload
- Run the app with the command (React):
npm run dev
Endpoints documentation: http://127.0.0.1:8000/docs