Skip to content

tobyatgithub/food-tracker-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

food-tracker-app

How to Run

// start mysql
mysql.server start
mysql -h localhost -u root -p

// Add a `.env` file and set it to your local database
DATABASE_URL="mysql://root:password@localhost:3306/tododb"

// install, init and migrate prisma
npm install @prisma/client
npx prisma init
npx prisma migrate dev --name init
npx prisma studio
npx prisma db push

// execute backend via
cd food-tracker/api && nodemon index.js

// execute front end via
cd food-tracker && npm start

About

Should I buy this on sale product? Let me see how much I spend last time...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published