- Download and install the latest version of node 16 for your operating system
- Install git:
- Authenticate your Github account with Git:
- Clone this repo using your command line
git https://github.com/cheaper-eater/frontend.git
- Setup a .env file
- navigate to the root of the project you cloned and create a file called
.env - in that file, add the following lines:
API_DOMAIN= API_PORT=- for the
API_DOMAINenvironment variable, set the domain to use for the backend api, if you are working on the project locally using the web browser, uselocalhostex:API_DOMAIN=localhost. If you want to test the mobile version of the application, use the local ip address of your machine ex:192.168.1.117. - for the
API_PORTenvironment variable, set the port of the backend api, if you are using the standard config in the backend, this should be set to8000ex:API_PORT=8000 - note that when you make a change to the .env file, you must clear the cache for changes to take effect.
- using expo (this only works for Android and IOS)
expo start -cthe -c flag tells expo to clear the cache
- removing the data manually (for web)
- delete the cache directory found at
{project root}/.expo/web/cache
- delete the cache directory found at
- using expo (this only works for Android and IOS)
- navigate to the root of the project you cloned and create a file called
- Build and run:
- in your command line, navigate to the project directory you cloned
- in your command line, run
npm installto install all of the project dependencies - in your command line, run
npm run build:tailwindto build the project's talwind classes - run with
npm run web|ios|androidwhereweb|ios|androidis the platform you want to run the app on
-
Notifications
You must be signed in to change notification settings - Fork 4
cheaper-eater/frontend
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
cheaper eater's frontend
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published