Skip to content

newtritious/Newtritious-old

Repository files navigation

alumni-collab

GitHub Repo stars GitHub language count GitHub repo size GitHub last commit (branch)

Table of Contents

About The Project

Nutrition app built by Trilogy bootcamp alumni to let a user find their caloric needs (using a calculator) and set a calorie goal. A user can search for specific food nutrition and recipes. Recipes will show ingredients and steps to make a meal, show the nutrition details of the recipe and save the recipe, and log the recipe as a meal. A user can add meals for the day to show the total amount of calories consumed and view any past meals they have logged.

Deployed Link

http://www.newtritio.us/

Built With

Installation

To get a local copy up and running follow these simple steps.

  1. Clone the repo in your terminal

    git clone git@github.com:newtritious/Newtritious.git
  2. After installation and in the same terminal, type cd Newtritious and hit enter before proceeding onto the next step

  3. Run the following command to install necessary dependencies:

    yarn install
  • Note: If you are using npm, delete all node_modules folders in the root of the project folder and client folder - then reinstall packages with yarn

Get Spoonacular API Key

Signup for your own Spoonacular API key @ https://spoonacular.com/food-api.

  1. Click the Start Now button in the navigation
  2. From the Dashboard - Navigate to Profile
  3. You will see your API key hidden API Key: *****************************
  4. Click the Show / Hide API Key button
  5. Create a local .env file in the root directory (i.e., the same directory where the CODE_OF_CONDUCT.md lives)
  6. In the .env.EXAMPLE file, you will see an example on how your Spoonacular API key should look in your .env file. SPOONACULAR_API_KEY=your_api_key

Super Secret String

In the .env.EXAMPLE file, you will notice a key/value that looks like this:

SECRET_STRING=Super_Secret_String

Add this to your .env file in order for authentication and, consequently, the application to work as intended

MongoDB

This project uses MongoDB as a database. If you have not yet installed Mongo, you can find installation instructions here. After installation, make sure you are running Mongo with:

mongod

You may also consult [the mongod documentation] for more flags and settings.

Running the project

To run the project locally, use the command yarn start in the root project folder

Troubleshooting

Check your node version if you are experiencing issues. This project is running on Node v15.14.x. To run correctly, make sure you have at least Node v15.14.x installed. You may be running the long-term support version (LTS) Node v14.16.x (LTS)

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

License

GitHub license

This project is licensed under the MIT license.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Clone the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Rebase your commits (git rebase -i origin/main)
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

Make sure to follow our code of conduct!

Tests (Coming Soon)

To run tests, cd into the client folder and run the following command:

yarn test

Questions

If you have any questions about the repo, open an issue or contact the repo owner or one of the contributors.

About

A recipe search and management product built by several bootcamp graduates practicing working as a team.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published