Calori is a simple, beautiful, and customizable diet planner. It allows you to create, edit, and manage diets, meals, and foods efficiently.
Clone the Repository
git clone https://github.com/your-username/caloricalori.git
cd caloricalori
Start the Database with Docker Ensure Docker is installed and running:
docker-compose up -d
Install Dependencies Use your preferred package manager:
npm install
# or
yarn install
Set Up Environment Variables
Create a .env
file in the root directory with the following variables:
DATABASE_URL="postgresql://user:password@localhost:5432/calori"
NEXTAUTH_URL="http://localhost:3000"
Run Database Migrations
npx prisma migrate dev
Start the Development Server
npm run dev
# or
yarn dev
Access the Project Open http://localhost:3000 in your browser.
The project is hosted on Vercel. You can access it directly at https://calorii.vercel.app.
Diet Management:
Automatic Macro Calculation:
This project is licensed under the MIT License. See the LICENSE
file for more details.