Skip to content

A cookbook app where you can managed your own recipes.

Notifications You must be signed in to change notification settings

louieseno/flutter_recipe_book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Recipe Book

A cookbook app where you can bookmark your own recipes found online using Edamam API.

Pre-requisites

Please check and follow the following instructions in setting up your environment.

Run the App

Once you've installed the project and system dependencies for both client and server environments, run the following commands to test the app.

  1. Open terminal and start your local backend server by running
   cd <PROJECT_FOLDER>/server
   npm run server-json

json-server will provide a ready to use endpoint base on your db.json file which will act as its storage for your bookmark recipes.

Resources
http://localhost:3000/recipes
  1. Open a simulator, emulator, or connect to an actual device to run your Flutter Application.

On another terminal start flutter by running this command.

   cd <PROJECT_FOLDER>/client
   flutter run

‼️ Take Note

Change localhost to actual IP address of your system when running to an actual device or Android Emulator.

Update the following files:

  1. <PROJECT_FOLDER>/server/package.json
   "server-json": "json-server --watch db.json --port 3000 -H localhost"

re-run command npm run server-json

  1. <PROJECT_FOLDER>/client/lib/services/api/json_server.dart
const baseURL = 'http://localhost:3000';

re-run command flutter run or hot restart

About

A cookbook app where you can managed your own recipes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published