Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.49 KB

README.md

File metadata and controls

52 lines (34 loc) · 2.49 KB

Logd.

A simple nutrition tracking application with a joyful UI design. It allows the user to pick products for a snack/meal/day, review them before submission and then see the log on their home screen with useful data visualization.

Getting Started

As general setup, fork this repository and clone it to your local machine through git clone <link of the repository goes here> To start using this application, you will need to make sure that you have:

  1. Expo CLI installed. Follow this documentation on how to setup Expo CLI for React-Native.
  2. MongoDB installed and running as a background or brew process. Follow this documentation to set up MongoDB on your platform. After completing the steps above, follow the step below in order:

1. Root

In the root folder (this), run npm install.

2. Client

From the root folder, run:

$ cd client
$ npm install
$ npm start

3. Server

Come back to the root folder by running cd .., and then run:

$ cd server
$ npm install
$ nodemon index.js

4. Final

At this point, the project client and server sides should be up an running. Once again, make sure that MongoDB is running in the background, as the server needs it to send data to the client.

Note:

This project contains environment variables that are not publically avaliable for the purposes of safety of valuable information. Therefore, if you have an account with RapidAPI, subscribe to the Edamam API and substitute your API key/host/website information for the one that is declared in the ./client/Services/ApiService.js file in the API_* variables.

Tech Stack

Front-End Back-End
React MongoDB with Mongoose
React-Native Node.js
Expo Express