Skip to content

saashd/AgwaGarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AgwaGarden

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

Directory Structure

├── client
│ ├── App
│ │ ├── components
│ │ ├── screens
│ │ ├── store
│ │ ├── index.tsx
│ ├── assets
│ ├── app.json
│ ├── package.json
├── server
│ ├── models
│ ├── routes
│ ├── index.js
│ ├── package.json
│ ├── .env

Configuration

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.

Installation and Local Usage

Note: You must have Expo installed on your machine to run the app.

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

Badges

React Native Expo Axios Redux TypeScript NodeJS MongoDB Mongoose Express.js