Skip to content

Neeleshrj/store-your-meds

Repository files navigation

Store your meds with React Native and Expo

A simple application that lets you organize your medicines with React Native and Expo.

Screenshots

  • Sign In

  • Sign Up

  • Medicine List

    • Empty

    • With Content

  • Add medicines

Getting Started

Install Appwrite

Follow the simple Installation Guide to get Appwrite up and running in no time. You can either deploy Appwrite on your local machine or, on any cloud provider of your choice.

We need to make a few configuration changes to your Appwrite server.

  • Go to Database and create a new Database.

Create database

  • Go inside your database and create a new collection.

Create collection

  • Add the following attributes to the collection.

Add disease name attribute Add medicines attribute Add user id attribute

  • Go to settings and add the following permissions to your collections.

Add permissions to collection

Note: You would need to name the collection and attributes same as in the screenshots above.

Run the front-end locally

You need to follow these steps to start the front end.

You will need to fill in these environment variables that help your frontend connect to Appwrite.

  • BASE_URL - Your Appwrite URL
  • DB_ID - Your Database ID

Follow these instructions to run the demo app locally

$ git clone https://github.com/Neeleshrj/store-your-meds-rn.git
$ cd store-your-meds

Run the following command to generate your .env vars

$ cp .env.example .env

Now fill in the envrionment variables we discussed above in your .env

Now run the following commands to start your expo application and scan the QR code to run it on your device

$ yarn
$ npx expo start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published