Description The project was created using the "React" framework in combination with the "Node.js" back end on the basis of a server on the "Express" framework connected to the "MongoDB" database.
The web server project is located here.
Application launch instructions This app uses a back end server at 'https://delivery-shop-rfy2.onrender.com
Accordingly, the REACT_APP_URL environment variable equal to 'https://delivery-shop-rfy2.onrender.com is used as the base URL for accessing the API.
GitHub repo for the backend is https://github.com/buga747/elifschool-test
GitHub repo for the frontend is https://github.com/buga747/eliftech-frontend
Run npm run dev and use http://localhost:3030 to connect to the backend locally.
The /api/shops endpoint is used to get the list of stores The /api/products endpoint is used to get the list of stores The /api/shop/orders endpoint is used to send orders.
Script commands in console: npm start Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
npm run deploy Deploy development files to Netlify.
npm test Launches the test runner in the interactive watch mode. See the section about running tests for more information.
npm run build Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.