Express Application Programming Interface for the DAF Tools fullstack project
: https://api-daftools.netlify.app/.netlify/functions/api
GET /asset/carouselimages
- Returns a list of daftools page snapshots.
GET /aboutdata
- Returns a list of data about daftools pages with mobile snapshots.
GET /foodlists
- Returns a list of foods for each blood type.
GET /zodiacsignsinfo
- Returns a list of horscope information for each zodiac.
GET /hydrationtips
- Returns a list of tips on BMI.
GET /hydrationtips
- Returns a list of tips on hydration.
GET /zodiacuidata
- Returns a list of UI data used for personality page.
GET /bloodinfo
- Returns a list of foods for each blood type.
GET /asset/images
- Returns a list of images.
GET /asset/zodiacimages
- Returns a list of zodiac images paths.
- express
- serverless-http
- cors
- netlify-cli
To run the project locally, follow these steps:
- Clone the repository to your local machine.
- Install the project dependencies by running
npm install <dependency name here>
. - Initialize netlify
- Start the server by running
netlify dev
. - Access the API at
http://localhost:8080/.netlify/functions/api/
.
If you would like to contribute to this project, please open an issue or submit a pull request.
This project is licensed under the MIT License.