Your task is to build a vegan recipe app to create and view recipes. You should use React or React Native in the frontend, and Node.js and MongoDB on the backend. Please add tests for the backend and frontend.
- A user should be able to create, view, update and delete recipes.
- Each recipe must have a title, image, list of ingredients and instructions.
- Ingredients should exist as a combination of two fields - name and amount.
- The instructions for the recipe should be divided into steps.
- Add one extra feature to highlight your expertise: search, authentication, sharing recipes, or any other you can think of.
- Make it visually appealing.
- Make it available to test at a hosted domain (Heroku/Vercel/AWS/etc).
- Recipe name should be a single word and unique(No duplicate recipe names allowed).
- Updating ingredients only add at the end of the ingredient list
- Updating instructions only add at the end of the instruction list
Make sure that Mongo DB database is up and running. I deployed this server on Heroku. You can directly integrate in your application if needed.
- Navigate to the
server
folder from the project root folderrecipe_app
- Run
npm install
to install all dependencies - Run
npm run server.js
to start the server
- Navigate to the
webui
folder from the project root folderrecipe_app
- Run
npm install
to install all dependencies - Run
npm start
to start Web App server
You can test this app here.