This is my attempt at the task given within the take-home test at Automata.
To run the Flask API, follow these steps:
- Navigate into the api directory from the root:
cd api
- Install the project dependencies using Pipenv:
pipenv install
To start the server, use the following command:
pipenv run dev
This will start the server on port 8080 with debug mode enabled.
To run the tests, use the following command:
pipenv run test
This will execute the test suite using pytest.
To run the tests with coverage:
pipenv run coverage run -m pytest
To generate a coverage report, use the following command:
pipenv run coverage report
This command will display a summary of the coverage report, showing the percentage of code covered by tests.
To run the Next.js project, follow these steps:
- Navigate into the client directory from the root:
cd client
- Install the npm packages:
npm i
- Run the project:
npm run dev
- Python
- Flask
- Pytest
- Pipenv
- React
- Next.js
- Three.js (React Three Fiber)
- Chakra UI
- Tailwind.css
- Javascript
- Attempt the extra credit :D
- Making the 3D environment more dynamic and interractable
- Adding additional form handling to prevent the user from sending invalid climate types to the API rather than wasting resources in the backend
Interractive Home Page Zoom Out Click on Automata to get into the Form Page