Skip to content

gabrielleles18/book-wise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project with Prisma, sqlite, chakra-ui and typescript.

  • Prisma is an open-source ORM for Node.js and TypeScript. It is used as an alternative to writing plain SQL, or using another database access tool such as SQL query builders (like knex.js) or ORMs (like TypeORM and Sequelize).

  • SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process.

  • Chakra UI is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications.

  • TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.

This project is a book review website where you can explore books, add a new review to an available book, view the details of a book, and see other reviews made by users.

Getting Started

# Install dependencies
yarn install

# Run project in development mode
yarn run dev

# Build project
yarn run build

# Run project in production mode
yarn run start

# Run prisma studio
prisma studio

# Database
docker run --name postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres

# Migrate database
npx prisma migrate dev

Open http://localhost:3000 with your browser to see the project.

Open http://localhost:5555 with your browser to see the prisma studio.

Print tela inicial