A mock tech test React build. Part of Manchester Codes Front end module. Users should be able to search for images based on a query using the NASA image API.
- Clone this repo
- e.g.
git clone git@github.com:EmilyRoseCotter/tech-test.git
- e.g.
- Change directory into the repo
- e.g.
cd tech-test
(or the directory you specified the repo to be cloned into)
- e.g.
- Install the dependencies from
package-lock.json
npm install
- To start the app:
npm start
- To test the app:
npm test
The project uses the following packages:
- Axios: for making API calls
- PropTypes: for validating props
This app was built using the BDD approach. The components were built first followed by the tests.
All tests can be found inside of the ./src/_tests_
directory.
Users can run the tests for themselves, by running npm install
to install the dependencies, followed by npm test
to run the tests.
Emily Cotter