mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
1.8 KiB
1.8 KiB
📦 Packages:
- ⚡️ Nextjs - The React Framework for Production.
- ⚒️ React 18 - A JavaScript library for building user interfaces.
- 💙 Typescript - A superset of JavaScript.
- ✅ Vitest - A blazing fast unit test framework.
- 💅 Chakra UI - Create accessible React apps with speed.
- 💥 Framer Motion - Production-ready motion library.
- 💖 Phosphor-Icons - A flexible icon family for everyone.
- ⬇️ Next-PWA - Zero config PWA plugin for Next.js, with workbox.
🚀 Getting started:
You need:
- Clone the repository:
git@github.com:pheralb/svgl.git
- Install dependencies:
npm install
# or
yarn install
- Run:
npm run dev
# or
yarn dev
- Test & Build:
npm run ready
# or
yarn ready
🥳 Open localhost:3000 with your browser to see the result.
🚂 Endpoints:
- /api/all: returns all the logos in the /data/ folder.
- /api/search?id=2: returns the logo with id 2.
- /api/search?name=logo: returns the logo with name logo.
⚒️ Shortcuts:
- ⭐ SVG Library: /public/library/.
- ✍️ SVG JSON logos: /data/.
🔑 License:
- MIT.