A simple web application for generating inspirational quotes provided by ZenQuotes API built with
I start learning the most beloved framework Sveltekit and that's what i'm using in the frontend
You can make a GET
request to https://quotes-generator-plum.vercel.app/api/generate, to get a random quote in json
format
curl --request GET \
--url 'https://quotes-generator-plum.vercel.app/api/generate'
Example response
[
{
"q": "To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.",
"a": "Ralph Waldo Emerson",
"h": "<blockquote>“To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.” — <footer>Ralph Waldo Emerson</footer></blockquote>",
}
]
Once you've cloned the project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start and open the app in a new browser tab
npm run dev -- --open
npm run build
You can preview the built client app with
npm run preview
,This should not be used to serve your app in production.
Pull requests and stars are always welcome. For bugs and features requests, please create an issue.
Ysn4Irix
Copyright © 2022-present, Ysn4Irix. Released under the MIT License.