Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonatipek/vitamins-and-supplements-api
Vitamins and Supplements API is a RESTful service created to provide access to basic information and recommendations about vitamins and dietary supplements. The API fetches vitamin/supplement information such as dosage, benefits, recommendations and score through various endpoints.amins.
https://github.com/sonatipek/vitamins-and-supplements-api
express mongodb mongoose nodejs rest-api restful-api supplements vitamins
Last synced: about 1 month ago
JSON representation
Vitamins and Supplements API is a RESTful service created to provide access to basic information and recommendations about vitamins and dietary supplements. The API fetches vitamin/supplement information such as dosage, benefits, recommendations and score through various endpoints.amins.
- Host: GitHub
- URL: https://github.com/sonatipek/vitamins-and-supplements-api
- Owner: sonatipek
- License: gpl-3.0
- Created: 2023-11-29T12:10:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T08:56:55.000Z (9 months ago)
- Last Synced: 2024-04-23T19:09:18.937Z (9 months ago)
- Topics: express, mongodb, mongoose, nodejs, rest-api, restful-api, supplements, vitamins
- Language: JavaScript
- Homepage: https://vitamins-and-supplements.vercel.app/api/
- Size: 106 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](https://choosealicense.com/licenses/gpl-3.0/)
# Vitamins and Supplements API
Vitamins and Supplements API is a RESTful service created to provide access to basic information and recommendations about vitamins and dietary supplements. The API fetches vitamin/supplement information such as dosage, benefits, recommendations and score through various endpoints. It can create, update and delete supplements/vitamins.I used this API in my "vitamins&supplements" infographic frontend project to support athletes' training programs, help sedentary individuals find the right supplements for them, and provide information to anyone who wants to make informed decisions about nutrition. [Related Project](/README.md#related-project)
_Does not contain recommendations for use, I recommend that you consult your doctor in any case_
## Related Project
You can access the "vitamins&supplements" infographic frontend project I developed using this API from the link below:
[Vitamins & Supplements](https://github.com/sonatipek/vitamins-and-supplements-frontend)## Tech Stack
![Tech](https://skillicons.dev/icons?i=nodejs,express,mongo)
## API Reference / Endpoints
You can view the related endpoints via the following link: [API Reference](/API_REFERENCE.md)
## Run Locally
1. Clone the project
```bash
git clone https://github.com/sonatipek/vitamins-and-supplements-api.git
```2. Go to the project directory
```bash
cd vitamins-and-supplements-api
```
3. Install dependencies
```bash
npm install
```
4. Start the server
```bash
npm run dev
```## Environment Variables
To run this project, you will need to add the following environment variables to your .env file
`MONGO_CONNECTION`
`JWT_SECRET_KEY`
`JWT_EXPIRE`
## Feedback
Please don't hesitate to give me feedback on your reviews. I really care about this feedback and find it very valuable to improve myself.
You can send your feedback through the communication channels in my profile or [email protected].###### Source
The information in the API's database is excerpted from the video below.
https://www.youtube.com/watch?v=z3LFfY3AhVQ