Welcome to SocialCue! 👋
This is the demo app used in How To Prisma. It's built with Next.js, TypeScript, Tailwind, and a bunch of other great libraries.
It's a social media scheduling app that does just about everything except actually publishing the posts 😄
Clone the repo and install dependencies.
# npm
npm install
# yarn
yarn
This project uses SQLite, a small and fast database engine that is great for local development and testing.
The project doesn't come with the SQLite database file included. Instead, the file gets created on the fly by Prisma.
The database file is called dev.db
and it's found in the prisma
directory.
Use Prisma's db push
command to generate the database file and sync the schema found in prisma/schema.prisma
.
# npm
npx prisma db push
# yarn
yarn prisma db push
The project comes with a file to seed the database with some initial data. It's found in prisma/seed.ts
.
Use Prisma's db seed
command to get some initial data in place.
# npm
npx prisma db seed
# yarn
yarn prisma db seed
Use Next.js's devleopment server to start the app.
# npm
npm run dev
# yarn
yarn run dev
MIT