the api built for market-connect
please make sure you set up a new environment for this project, so it won't be mixed up with your default system environment. to setup the environment, please follow the instructions in Anaconda set up.
The following instructions of this README will assume you have already installed the requirements.
-
go to the link market-coonnect-api. if you don't see the commands, you might need to reload the page after a minute.
-
you can now test out all the API routes. for example: you want to test the function
/test-stalls, simply find the function on the page, click it, then click "try it out", then click "execute". you should see the results below the "execute" button.
-
make sure you are in the same directory as
main.py(which should beMarket-Connect) and run:uvicorn main:appthis command will start a local server on your device, you should see a message that says "Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)" -
go to any web browser, enter the link 127.0.0.1:8000/docs
-
you can now test out all the API routes. for example: you want to test the function
/test-stalls, simply find the function on the page, click it, then click "try it out", then click "execute". you should see the results below the "execute" button.
please read the instruction Tables.md
if you want to make contribution to this project, please follow the workflow