This project contains two main folders:
meetup-api/
contains the "backend" API used to get the ToDos from the React app. This is implemented using FastAPImeetup-app/
contains the React app and its tests.
To run the React app, you will need both Node and npm installed. To install the required dependencies, run npm install
. Afterwards, you can run npm start
to start the app in port 3000. Both commands should be run in the meetup-app
folder.
To run the API the frontend uses, you will need Python and Pip installed. To install the required dependencies, run pip install -r requirements.txt
(note: if you have both Python 2 and Python 3 in your system, run the command with pip3
). To start the API, run uvicorn main:app --reload
. Both commands should be run in the meetup-api
folder.
To run the tests, in the meetup-app
folder, run npm test
.