svgl/README.md
2022-06-24 21:52:41 +01:00

1.8 KiB
Raw Blame History

SVGL Banner

📦 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:

  1. Clone the repository:
git@github.com:pheralb/svgl.git
  1. Install dependencies:
npm install
# or
yarn install
  1. Run:
npm run dev
# or
yarn dev
  1. 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:

🔑 License: