It's Prisma Time - Create Db

Full Stack Developer and JavaScript and TypeScript enthusiastic.
Search for a command to run...

Full Stack Developer and JavaScript and TypeScript enthusiastic.
No comments yet. Be the first to comment.
Today, I wanna show you how to set up your devices with Antigravity using only the agentic mode, without touching any code. At the last CodeMotion Rome, I got my special badge. A CM Node, a special ha

As a developer, you have to take control of your projects every day. Whether it is a company repository, an open source project you maintain or collaborate on, or a simple pet project. Gaining control over your projects often depends on the platform ...

MyΒ Antigravity first experience

Write clear and insightful commit messages using AI and GitLens.

We are in the AI era. New models emerge daily, and many applications have already integrated AI into their workflows. Gemini, OpenAI, Copilot, Deepseek, Llama, and many others enable AI in your applications or help you write code, but they all need a...

Hi Guys π welcome back. Finally, today it's time to create our database, so don't waste time, and get started. How can you create your database? It's simple! You have to run the following script:
npx prisma db push
This script creates in your prisma folder a SQLite database called dev.db.
The database's name is taken from the variable DATABASE_URL in the .env file and inside of the file you can find the next table.
Ok, now you have your database so it's time to get back at the challenge left open last article.
Run the script
yarn dev
{ posts: [] }
Ok, there aren't data but it works π₯³
So now you have a database and you can search data inside it, at this point, it's time to create relations between our entities, but it's the goal of the next article π€ͺ
That's all for today guys! See you soon Bye Bye π
You can find the code relative to this post here