Nutritionist is a food website where users can easily search for and add foods to a table that calculates their nutritional values. It provides an intuitive interface for tracking calories and macros, empowering users to make informed dietary choices.
First, install all the packages for both the frontend and the backend:
npm install
Setup .env file for the backend
MONGO_CONNECTION_STRING =
PORT =
SESSION_SECRET =
Then, run the development server for the backend:
npm start
Finally, run the development server for the frontend:
npm run dev
Open http://localhost:5173 with your browser to see the result.
- React - Library for web and native user interfaces.
- Node.js - Cross-platform JavaScript runtime environment.
- Express.js - Fast, unopinionated, minimalist web framework for Node.js.
- Typescript - Strongly typed programming language that builds on JavaScript.
- Tailwind CSS - Utility-first CSS framework packed with classes that can be composed to build any design.
- Shadcn UI - Collection of beautifully designed, accessible, and customizable React components.
- MongoDB - Document database with high scalability and flexibility.
- Vite - Local development server used for project templates.