AgwaGarden is a mobile app that allows users to order their favorite plants every month. With AgwaGarden, users can easily browse, order, and manage their plant subscriptions.
AgwaGarden.MOV
├── client
│ ├── App
│ │ ├── components
│ │ ├── screens
│ │ ├── store
│ │ ├── index.tsx
│ ├── assets
│ ├── app.json
│ ├── package.json
├── server
│ ├── models
│ ├── routes
│ ├── index.js
│ ├── package.json
│ ├── .env
In order to run the application, you need to set the following environment variables:
- Navigate to the server directory, create .env file and add folowing variables.
cd server
touch .env
MONGO_URL
- The URL of your MongoDB database. Example:
mongodb+srv://USERNAME:PASSWORD@sqlauthority.5s3yxjh.mongodb.net/AgwaFarm?retryWrites=true&w=majority
PASS_SEC
- A secret key used to encode authentication.
To run the app locally, follow the steps below:
- Clone the repository:
git clone https://github.com/saashd/AgwaGarden.git
. - Navigate to the client directory, install the dependencies and run client-side:
cd client
yarn install
yarn start
- Navigate to the server directory, install the dependencies, build the server-side and start the app.
cd server
yarn install
yarn build
yarn start