Skip to content

Repository files navigation

DISHCOVER-API

These are APIs to LOGIN, LOGOUT, REGISTER, get Recipe, get queryRecipe, get detailRecipe, get History, delete History, get MyFavourite, post Favourite, delete Favourite, and also POST ingredientPredict

API Endpoint

Cara Menjalankan API di local

Salin perintah ini di terminal kamu atau git bash

  • Clone project from github
git clone https://github.com/Project-Dishcover/DISHCOVER-API.git 
  • Change Directory to DISHCOVER-API
cd DISHCOVER-API
  • copy .env from .env.example
cp .env.example .env
  • Change the database name in the .env file
DB_DATABASE_DEV=mysql://root:@localhost:(your port)/yourdb
  • Install All Dependencies
npm install
  • Migrate Database
npx prisma migrate dev --name init 
  • Run the server
npm run dev

About

API for DISHCOVER

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages