Cardano Talent is a comprehensive platform for exploring, learning, and showcasing skills related to the Cardano blockchain ecosystem. The platform is built with cutting-edge technologies to deliver a modern, fast, and user-friendly experience.
This project leverages a modern web development stack for optimal performance and scalability:
- SvelteKit: A framework for building fast, modern web applications.
- PocketBase: Backend as a service, handling the database, authentication, and APIs.
- ShadCN Svelte: A UI component library for building elegant, reusable interfaces.
- TypeScript: Strongly typed programming language for scalability and maintainability.
- Node.js: JavaScript runtime for server-side execution.
Follow these steps to set up the project locally:
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
You can use a local or remote pocketbase instance. In my case, i'm running pocketbase locally on the pocketbase-dev
folder
You can find the database schema on the pb_schemas
folder
Pocketbase is the chosen backend for this platform, anytime you make changes to the database schema, you need to generate the types in order to have a typesafe backend.
npx pocketbase-typegen --db ./pocketbase-dev/pb_data/data.db --out pocketbase-types.ts
Before you can run the actual backend, you must run the migrations using ./pocketbase migrate up
in the current directory. It will create appropriate schema tables/collections.