Skip to content
/ foodAPP Public

A react-native application build using expo-cli and json-server for resturant booking and other resturant related features.

Notifications You must be signed in to change notification settings

aparsh/foodAPP

Repository files navigation

foodAPP

A react-native application build using expo-cli and json-server for resturant booking and other resturant related features.

This project was bootstrapped with Create React App.

Available Scripts

npm install json-server -g

Make a directory where you want to make your db then run this command. then place the db.json file into that folder. The file will then serve as a db to your app.

json-server --watch db.json -p 3001 -d 2000

With this command you will be able to access your db with endpoints like dishes | comments | promotions | leaders | feedback. Since your react application will be running on 3000 thats why we have assigned 3001 to access json-server.

In the project directory, you can run:

expo start

Runs the app in the development mode.
expo servise will start in browser.
The app will reload if you make edits.
You will also see any lint errors in the console.

About

A react-native application build using expo-cli and json-server for resturant booking and other resturant related features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published