This is implementation of fcc take home project - https://learn.freecodecamp.org/coding-interview-prep/take-home-projects/build-a-recipe-box/ .
App has been implemented with
- Front end -
- React and styled components
- Jest, enzyme and jest-styled-components for testing
- Back end -
- Express.js - for node server
- Mongoose and mongodb - for saving recipes
- Jets - for testing
As the app consists of both backend and frontend, we have used a single repository to serve both parts of the app. The main app is express app which serves all api endpoints and also the react app. Express app is in source directory while all client side code is in client directory.
To run app locally
npm run dev
You will also need to inject following variables to for mongodb
- User
- Password
- mongo db url
We use jest to run tests. run npm test
to run tests for both backend and client apps.